[NFC] Remove dead code
authorGuillaume Chatelet <gchatelet@google.com>
Tue, 14 Jun 2022 09:55:55 +0000 (09:55 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Tue, 14 Jun 2022 10:56:37 +0000 (10:56 +0000)
llvm/include/llvm/IR/Instructions.h

index 0f9bf0f12d4462d2831d63494004f12c402b613a..d152e86488e1b77e71eba64249c060e97d56c788 100644 (file)
@@ -126,9 +126,6 @@ public:
     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.