[PATCH] D67271: [Alignment] fix dubious min function alignment

Guillaume Chatelet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 6 06:52:41 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL371204: [Alignment] fix dubious min function alignment (authored by gchatelet, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D67271?vs=219081&id=219091#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67271/new/

https://reviews.llvm.org/D67271

Files:
  llvm/trunk/lib/Target/SystemZ/SystemZISelLowering.cpp


Index: llvm/trunk/lib/Target/SystemZ/SystemZISelLowering.cpp
===================================================================
--- llvm/trunk/lib/Target/SystemZ/SystemZISelLowering.cpp
+++ llvm/trunk/lib/Target/SystemZ/SystemZISelLowering.cpp
@@ -120,7 +120,7 @@
   setBooleanVectorContents(ZeroOrNegativeOneBooleanContent);
 
   // Instructions are strings of 2-byte aligned 2-byte values.
-  setMinFunctionAlignment(llvm::Align(4));
+  setMinFunctionAlignment(llvm::Align(2));
   // For performance reasons we prefer 16-byte alignment.
   setPrefFunctionLogAlignment(4);
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67271.219091.patch
Type: text/x-patch
Size: 577 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190906/55cbb687/attachment.bin>


More information about the llvm-commits mailing list