[llvm] b4cf74d - [NFC] Remove dead code
Guillaume Chatelet via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 14 03:57:13 PDT 2022
Author: Guillaume Chatelet
Date: 2022-06-14T10:56:37Z
New Revision: b4cf74dc9e85cc7b2c754768044f72bcf37fcdae
URL: https://github.com/llvm/llvm-project/commit/b4cf74dc9e85cc7b2c754768044f72bcf37fcdae
DIFF: https://github.com/llvm/llvm-project/commit/b4cf74dc9e85cc7b2c754768044f72bcf37fcdae.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 0f9bf0f12d44..d152e86488e1 100644
--- a/llvm/include/llvm/IR/Instructions.h
+++ b/llvm/include/llvm/IR/Instructions.h
@@ -126,9 +126,6 @@ class AllocaInst : public UnaryInstruction {
setSubclassData<AlignmentField>(Log2(Align));
}
- // FIXME: Remove this one transition to Align is over.
- uint64_t getAlignment() const { return getAlign().value(); }
-
/// Return true if this alloca is in the entry block of the function and is a
/// constant size. If so, the code generator will fold it into the
/// prolog/epilog code, so it is basically free.
More information about the llvm-commits
mailing list