projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c378015
)
Revert change to function alignment b/c existing logic was fine
author
Hal Finkel
<hfinkel@anl.gov>
Mon, 17 Oct 2011 18:53:03 +0000
(18:53 +0000)
committer
Hal Finkel
<hfinkel@anl.gov>
Mon, 17 Oct 2011 18:53:03 +0000
(18:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142224
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCISelLowering.cpp
b/lib/Target/PowerPC/PPCISelLowering.cpp
index dcc056836829f45d65430af69c9e8a15f6b98518..d6b8a9ee93c7a89ddff3c3edd3325b691d064e99 100644
(file)
--- a/
lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/
lib/Target/PowerPC/PPCISelLowering.cpp
@@
-402,16
+402,9
@@
PPCTargetLowering::PPCTargetLowering(PPCTargetMachine &TM)
setLibcallName(RTLIB::EXP2_PPCF128, "exp2l$LDBL128");
}
- if (PPCSubTarget.isBookE()) {
- // Book E: Instructions are always four bytes long and word-aligned.
- setMinFunctionAlignment(4);
- setPrefFunctionAlignment(8);
- }
- else {
- setMinFunctionAlignment(2);
- if (PPCSubTarget.isDarwin())
- setPrefFunctionAlignment(4);
- }
+ setMinFunctionAlignment(2);
+ if (PPCSubTarget.isDarwin())
+ setPrefFunctionAlignment(4);
setInsertFencesForAtomic(true);