[PATCH] D9151: Loop Versioning for LICM

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 2 20:36:54 PST 2016


joker.eph added inline comments.

================
Comment at: lib/Transforms/IPO/PassManagerBuilder.cpp:349
@@ -342,1 +348,3 @@
+    MPM.add(createLICMPass());                  // Hoist loop invariants
+  }
   if (!DisableUnitAtATime && OptLevel > 1 && !PrepareForLTO) {
----------------
Why is is done here and not where LICM is usually done? Line 419?
Did you try multiple placements? Do you have benchmarks results that drives this choice?


Repository:
  rL LLVM

http://reviews.llvm.org/D9151





More information about the llvm-commits mailing list