diff --git a/lib/Target/PowerPC/PPCISelLowering.cpp b/lib/Target/PowerPC/PPCISelLowering.cpp index dcc05683682..d6b8a9ee93c 100644 --- 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);