[PATCH] D36165: [MSP430] Align functions on 2-byte boundary instead of 4.

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 19 14:08:03 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL313676: [MSP430] Align functions on 2-byte boundary instead of 4. (authored by dambrouski).

Repository:
  rL LLVM

https://reviews.llvm.org/D36165

Files:
  llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.cpp


Index: llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.cpp
===================================================================
--- llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.cpp
+++ llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.cpp
@@ -322,7 +322,7 @@
   // TODO: __mspabi_srall, __mspabi_srlll, __mspabi_sllll
 
   setMinFunctionAlignment(1);
-  setPrefFunctionAlignment(2);
+  setPrefFunctionAlignment(1);
 }
 
 SDValue MSP430TargetLowering::LowerOperation(SDValue Op,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36165.115902.patch
Type: text/x-patch
Size: 478 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170919/c1e024d6/attachment.bin>


More information about the llvm-commits mailing list