[llvm] d0b57b4 - [PowerPC][AIX][NFC] Replace deprecated getByValAlign call.
Sean Fertile via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 8 10:29:04 PDT 2020
Author: Sean Fertile
Date: 2020-04-08T13:27:39-04:00
New Revision: d0b57b41f4add8621df2e95a344b79ef544ca853
URL: https://github.com/llvm/llvm-project/commit/d0b57b41f4add8621df2e95a344b79ef544ca853
DIFF: https://github.com/llvm/llvm-project/commit/d0b57b41f4add8621df2e95a344b79ef544ca853.diff
LOG: [PowerPC][AIX][NFC] Replace deprecated getByValAlign call.
Replace call to deprecated 'getByValAlign()' with
'getNonZeroByValAlign()'.
Added:
Modified:
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
index caed224608ea..0b6e71ac5c12 100644
--- a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
@@ -7093,7 +7093,7 @@ SDValue PPCTargetLowering::LowerFormalArguments_AIX(
const MCPhysReg ArgReg = VA.getLocReg();
const PPCFrameLowering *FL = Subtarget.getFrameLowering();
- if (Flags.getByValAlign() > PtrByteSize)
+ if (Flags.getNonZeroByValAlign() > PtrByteSize)
report_fatal_error("Over aligned byvals not supported yet.");
const unsigned StackSize = alignTo(Flags.getByValSize(), PtrByteSize);
More information about the llvm-commits
mailing list