[PATCH] D81324: [VE] Support shift operation instructions in MC layer

Simon Moll via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 8 01:35:28 PDT 2020


simoll accepted this revision.
simoll added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/lib/Target/VE/AsmParser/VEAsmParser.cpp:199
+    // Constant case
+    if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Val)) {
+      int64_t Value = ConstExpr->getValue();
----------------
Consider using `const auto*` next time.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D81324





More information about the llvm-commits mailing list