[llvm] 8865700 - [NFC] Remove dead code
Guillaume Chatelet via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 13 08:38:37 PDT 2022
Author: Guillaume Chatelet
Date: 2022-06-13T15:38:27Z
New Revision: 8865700f905173b71932cc241b5d36600343f425
URL: https://github.com/llvm/llvm-project/commit/8865700f905173b71932cc241b5d36600343f425
DIFF: https://github.com/llvm/llvm-project/commit/8865700f905173b71932cc241b5d36600343f425.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 fd922c4daa40a..79cfbd1e14713 100644
--- a/llvm/include/llvm/IR/Instructions.h
+++ b/llvm/include/llvm/IR/Instructions.h
@@ -215,11 +215,6 @@ class LoadInst : public UnaryInstruction {
/// Specify whether this is a volatile load or not.
void setVolatile(bool V) { setSubclassData<VolatileField>(V); }
- /// 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(); }
-
/// Return the alignment of the access that is being performed.
Align getAlign() const {
return Align(1ULL << (getSubclassData<AlignmentField>()));
More information about the llvm-commits
mailing list