[PATCH] D72598: [VE] Minimal codegen for empty functions

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 14 07:43:34 PST 2020


arsenm added inline comments.


================
Comment at: llvm/lib/Target/VE/InstPrinter/VEInstPrinter.cpp:63-65
+      int32_t TruncatedImm = static_cast<int32_t>(MO.getImm());
+      assert((TruncatedImm == MO.getImm()) && "Immediate too large");
+      O << TruncatedImm;
----------------
assert(isInt<32>())


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72598





More information about the llvm-commits mailing list