forked from OSchip/llvm-project
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:
parent
89f7859641
commit
112f145306
llvm/lib/Target/AVR
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue