mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Revert change to function alignment b/c existing logic was fine
llvm-svn: 142224
This commit is contained in:
parent
8247682aba
commit
f61af0e4b0
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user