[PATCH] D77711: [Alignment][NFC] Transition to MachineFrameInfo::getObjectAlign()
Kazushi Marukawa via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 8 00:29:56 PDT 2020
kaz7 created this revision.
kaz7 added projects: LLVM, VE.
kaz7 added reviewers: simoll, k-ishizaka.
Herald added subscribers: llvm-commits, hiraditya.
simoll added a comment.
LGTM
This is additional changes to https://reviews.llvm.org/D77215
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D77711
Files:
llvm/lib/Target/VE/VEInstrInfo.cpp
Index: llvm/lib/Target/VE/VEInstrInfo.cpp
===================================================================
--- llvm/lib/Target/VE/VEInstrInfo.cpp
+++ llvm/lib/Target/VE/VEInstrInfo.cpp
@@ -351,7 +351,7 @@
const MachineFrameInfo &MFI = MF->getFrameInfo();
MachineMemOperand *MMO = MF->getMachineMemOperand(
MachinePointerInfo::getFixedStack(*MF, FI), MachineMemOperand::MOStore,
- MFI.getObjectSize(FI), MFI.getObjectAlignment(FI));
+ MFI.getObjectSize(FI), MFI.getObjectAlign(FI));
// On the order of operands here: think "[FrameIdx + 0] = SrcReg".
if (RC == &VE::I64RegClass) {
@@ -392,7 +392,7 @@
const MachineFrameInfo &MFI = MF->getFrameInfo();
MachineMemOperand *MMO = MF->getMachineMemOperand(
MachinePointerInfo::getFixedStack(*MF, FI), MachineMemOperand::MOLoad,
- MFI.getObjectSize(FI), MFI.getObjectAlignment(FI));
+ MFI.getObjectSize(FI), MFI.getObjectAlign(FI));
if (RC == &VE::I64RegClass) {
BuildMI(MBB, I, DL, get(VE::LDrii), DestReg)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77711.255912.patch
Type: text/x-patch
Size: 1017 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200408/f4a7991e/attachment.bin>
More information about the llvm-commits
mailing list