[PATCH] D77218: [Alignment][NFC] Mark IRTranslator::getMemOpAlignment deprecated

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 1 07:52:52 PDT 2020


arsenm added inline comments.


================
Comment at: llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h:585-589
+  LLVM_ATTRIBUTE_DEPRECATED(
+      inline unsigned getMemOpAlignment(const Instruction &I),
+      "Use getMemOpAlign instead") {
     return getMemOpAlign(I).value();
   }
----------------
The number of uses in GlobalISel is so small, there's no reason to bother with this. It should be trivial to eliminate the old forms


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77218/new/

https://reviews.llvm.org/D77218





More information about the llvm-commits mailing list