[PATCH] D19558: Codegen: [X86] Set preferred loop alignment to 32 bytes.

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 27 11:22:10 PDT 2016


joker.eph added inline comments.

================
Comment at: lib/Target/X86/X86ISelLowering.cpp:1639
@@ -1638,3 +1638,3 @@
   MaxStoresPerMemmoveOptSize = 4;
-  setPrefLoopAlignment(4); // 2^4 bytes.
+  setPrefLoopAlignment(5); // 2^5 bytes.
 
----------------
The settings just above differs between OptSize or not, if there is an impact on code size it makes sense to change the way the PreLoopAlignment is handle as well. 


Repository:
  rL LLVM

http://reviews.llvm.org/D19558





More information about the llvm-commits mailing list