mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +00:00
Revert change to function alignment b/c existing logic was fine
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142224 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c378015d1c
commit
c61291609d
@ -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);
|
||||
}
|
||||
|
||||
setInsertFencesForAtomic(true);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user