Calls to convergent functions can be duplicated, but only if the
duplicates are not control-flow dependent on any additional values.
Loop rotation doesn't meet the bar.
Details
Details
Diff Detail
Diff Detail
Event Timeline
test/Transforms/LoopRotate/convergent.ll | ||
---|---|---|
16 | Nit: Can we simplify the test by passing %end as a parameter? That gets rid of @e and the load instruction. |
Nit: Can we simplify the test by passing %end as a parameter? That gets rid of @e and the load instruction.