You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
produces incorrect IR when indvars pass is run. I suspect this is because of the %udiv6 = udiv i32 %phi2, 0 divide by zero operation.
Look at the indvars transformation here: https://godbolt.org/z/cz1r5178h
The original IR must return 5, while the transformed IR returns 7
Here is the problematic IR:
produces incorrect IR when
indvars
pass is run. I suspect this is because of the%udiv6 = udiv i32 %phi2, 0
divide by zero operation.Look at the indvars transformation here: https://godbolt.org/z/cz1r5178h
The original IR must return 5, while the transformed IR returns 7
Proof of wrong transformation: https://alive2.llvm.org/ce/z/vPFhzg
The text was updated successfully, but these errors were encountered: