From 5d6a5b9543c8d327e86c93c7024f7622ba52dbe3 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sat, 7 Sep 2019 08:38:46 +0000 Subject: [PATCH] Replicate the change "[Alignment][NFC] Use Align with TargetLowering::setMinFunctionAlignment" on AVR to avoid a breakage. See r371200 / https://reviews.llvm.org/D67229 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371293 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/AVR/AVRISelLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/AVR/AVRISelLowering.cpp b/lib/Target/AVR/AVRISelLowering.cpp index 12b08e8ece5..6566f618b95 100644 --- a/lib/Target/AVR/AVRISelLowering.cpp +++ b/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); } -- 2.50.1