[llvm] 2b89a4d - [NFC] Remove dead code
Guillaume Chatelet via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 13 08:38:39 PDT 2022
Author: Guillaume Chatelet
Date: 2022-06-13T15:38:27Z
New Revision: 2b89a4dc51d539cefd3628775883a32c9dd6fc64
URL: https://github.com/llvm/llvm-project/commit/2b89a4dc51d539cefd3628775883a32c9dd6fc64
DIFF: https://github.com/llvm/llvm-project/commit/2b89a4dc51d539cefd3628775883a32c9dd6fc64.diff
LOG: [NFC] Remove dead code
Added:
Modified:
llvm/include/llvm/IR/Instructions.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/IR/Instructions.h b/llvm/include/llvm/IR/Instructions.h
index 79cfbd1e1471..0f9bf0f12d44 100644
--- a/llvm/include/llvm/IR/Instructions.h
+++ b/llvm/include/llvm/IR/Instructions.h
@@ -341,11 +341,6 @@ class StoreInst : public Instruction {
/// Transparently provide more efficient getOperand methods.
DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Value);
- /// Return the alignment of the access that is being performed
- /// FIXME: Remove this function once transition to Align is over.
- /// Use getAlign() instead.
- uint64_t getAlignment() const { return getAlign().value(); }
-
Align getAlign() const {
return Align(1ULL << (getSubclassData<AlignmentField>()));
}
More information about the llvm-commits
mailing list