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 89f7859641
commit 112f145306
1 changed files with 1 additions and 1 deletions
llvm/lib/Target/AVR

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);
}