1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00

Replicate the change "[Alignment][NFC] Use Align with TargetLowering::setMinFunctionAlignment"

on AVR to avoid a breakage.
See r371200 / https://reviews.llvm.org/D67229

llvm-svn: 371293
This commit is contained in:
Sylvestre Ledru 2019-09-07 08:38:46 +00:00
parent a84eb4e2bd
commit 9efc67cbfe

View File

@ -236,7 +236,7 @@ AVRTargetLowering::AVRTargetLowering(const AVRTargetMachine &TM,
setLibcallName(RTLIB::SIN_F32, "sin");
setLibcallName(RTLIB::COS_F32, "cos");
setMinFunctionLogAlignment(1);
setMinFunctionAlignment(llvm::Align(2));
setMinimumJumpTableEntries(UINT_MAX);
}