summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-11-22 01:13:39 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-11-22 01:13:39 +0000
commita9c7bb724a6a38c8a42cc150cc33bd2b9c12520b (patch)
treeee93b38d7f608f17581c007bac6a9dc11c7da807 /llvm/lib/Target/MSP430/MSP430ISelLowering.cpp
parentd099b578e4d65bf9c5c139c385b8030170b82d45 (diff)
downloadbcm5719-llvm-a9c7bb724a6a38c8a42cc150cc33bd2b9c12520b.tar.gz
bcm5719-llvm-a9c7bb724a6a38c8a42cc150cc33bd2b9c12520b.zip
Use 2-byte alignment for functions. 4 bytes are clear overkill here.
llvm-svn: 89572
Diffstat (limited to 'llvm/lib/Target/MSP430/MSP430ISelLowering.cpp')
-rw-r--r--llvm/lib/Target/MSP430/MSP430ISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp b/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp
index 5a925f5eb3e..adc6d58961e 100644
--- a/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp
+++ b/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp
@@ -162,7 +162,7 @@ SDValue MSP430TargetLowering::LowerOperation(SDValue Op, SelectionDAG &DAG) {
/// getFunctionAlignment - Return the Log2 alignment of this function.
unsigned MSP430TargetLowering::getFunctionAlignment(const Function *F) const {
- return F->hasFnAttr(Attribute::OptimizeForSize) ? 1 : 4;
+ return F->hasFnAttr(Attribute::OptimizeForSize) ? 1 : 2;
}
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud