summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AVR
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2019-09-07 08:38:46 +0000
committerSylvestre Ledru <sylvestre@debian.org>2019-09-07 08:38:46 +0000
commit112f145306dadfc1aed545b59b7afa5db905b31e (patch)
tree68fd20f7082824dd51caf731242cd1f98035e74c /llvm/lib/Target/AVR
parent89f7859641f4ae799d869d077cb82e574b6238d6 (diff)
downloadbcm5719-llvm-112f145306dadfc1aed545b59b7afa5db905b31e.tar.gz
bcm5719-llvm-112f145306dadfc1aed545b59b7afa5db905b31e.zip
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
Diffstat (limited to 'llvm/lib/Target/AVR')
-rw-r--r--llvm/lib/Target/AVR/AVRISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AVR/AVRISelLowering.cpp b/llvm/lib/Target/AVR/AVRISelLowering.cpp
index 12b08e8ece5..6566f618b95 100644
--- a/llvm/lib/Target/AVR/AVRISelLowering.cpp
+++ b/llvm/lib/Target/AVR/AVRISelLowering.cpp
@@ -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);
}
OpenPOWER on IntegriCloud