OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c97fc9
)
Use 2-byte alignment for functions. 4 bytes are clear overkill here.
author
Anton Korobeynikov
<asl@math.spbu.ru>
Sun, 22 Nov 2009 01:13:39 +0000
(
01:13
+0000)
committer
Anton Korobeynikov
<asl@math.spbu.ru>
Sun, 22 Nov 2009 01:13:39 +0000
(
01:13
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89572
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/MSP430/MSP430ISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/MSP430/MSP430ISelLowering.cpp
b/lib/Target/MSP430/MSP430ISelLowering.cpp
index
5a925f5
..
adc6d58
100644
(file)
--- a/
lib/Target/MSP430/MSP430ISelLowering.cpp
+++ b/
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
;
}
//===----------------------------------------------------------------------===//