aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorGuillaume Chatelet <gchatelet@google.com>2021-05-07 10:22:41 +0000
committerGuillaume Chatelet <gchatelet@google.com>2021-05-07 10:22:41 +0000
commite805b7c2d63c1f8b74f228718a55536f54ddd1c0 (patch)
treef49dc421b4e877b85a22ae0a449f0bc6b78d5a4f /llvm/lib/CodeGen/MachineOperand.cpp
parenteb1b26ec1d1ac60b2207354fcd003cad40e12b76 (diff)
downloadllvm-e805b7c2d63c1f8b74f228718a55536f54ddd1c0.zip
llvm-e805b7c2d63c1f8b74f228718a55536f54ddd1c0.tar.gz
llvm-e805b7c2d63c1f8b74f228718a55536f54ddd1c0.tar.bz2
[llvm][NFC] Remove remaining deprecated alignment functions from CodeGen
Differential Revision: https://reviews.llvm.org/D102058
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineOperand.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/MachineOperand.cpp b/llvm/lib/CodeGen/MachineOperand.cpp
index ee3cdad..766915c 100644
--- a/llvm/lib/CodeGen/MachineOperand.cpp
+++ b/llvm/lib/CodeGen/MachineOperand.cpp
@@ -1060,10 +1060,6 @@ void MachineMemOperand::refineAlignment(const MachineMemOperand *MMO) {
}
}
-/// getAlignment - Return the minimum known alignment in bytes of the
-/// actual memory reference.
-uint64_t MachineMemOperand::getAlignment() const { return getAlign().value(); }
-
/// getAlign - Return the minimum known alignment in bytes of the
/// actual memory reference.
Align MachineMemOperand::getAlign() const {