summaryrefslogtreecommitdiff
path: root/lib/Target/MSP430
diff options
context:
space:
mode:
authorVadzim Dambrouski <pftbest@gmail.com>2017-09-19 21:05:20 +0000
committerVadzim Dambrouski <pftbest@gmail.com>2017-09-19 21:05:20 +0000
commitcb6f3f43df332f9a425969f81e743bd330f9115b (patch)
treed891a762e0e95b53d4394a5c7a1c3adb61011604 /lib/Target/MSP430
parentcdcb6d16fc52759bb607eaa2badbbe1ff5600495 (diff)
[MSP430] Align functions on 2-byte boundary instead of 4.
Summary: There is no benefit in having the 4-byte alignment, and removing this restriction can save a lot of space for some applications. Reviewers: asl, awygle Reviewed By: awygle Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D36165 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313676 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSP430')
-rw-r--r--lib/Target/MSP430/MSP430ISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/MSP430/MSP430ISelLowering.cpp b/lib/Target/MSP430/MSP430ISelLowering.cpp
index 55e371f1d22..7cfcb965899 100644
--- a/lib/Target/MSP430/MSP430ISelLowering.cpp
+++ b/lib/Target/MSP430/MSP430ISelLowering.cpp
@@ -322,7 +322,7 @@ MSP430TargetLowering::MSP430TargetLowering(const TargetMachine &TM,
// TODO: __mspabi_srall, __mspabi_srlll, __mspabi_sllll
setMinFunctionAlignment(1);
- setPrefFunctionAlignment(2);
+ setPrefFunctionAlignment(1);
}
SDValue MSP430TargetLowering::LowerOperation(SDValue Op,