[PATCH] D17127: [LoopRotate] Don't perform loop rotation if the loop header calls a convergent function.

Jingyue Wu via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 11 17:39:11 PST 2016


jingyue accepted this revision.
This revision is now accepted and ready to land.

================
Comment at: test/Transforms/LoopRotate/convergent.ll:16
@@ +15,3 @@
+entry:
+  %end = load i32, i32* @e
+  br label %loop
----------------
Nit: Can we simplify the test by passing `%end` as a parameter? That gets rid of `@e` and the `load` instruction. 


http://reviews.llvm.org/D17127





More information about the llvm-commits mailing list