[PATCH] D137905: [GlobalISel] Add new G_INVOKE_REGION_START/END instructions to fix an EH bug

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 15 21:37:43 PST 2022


aemerson added inline comments.


================
Comment at: llvm/lib/CodeGen/MachineVerifier.cpp:836
+    if (FirstTerminator->getOpcode() != TargetOpcode::G_INVOKE_REGION_START) {
+      report("Non-terminator instruction after the first terminator", MI);
+      errs() << "First terminator was:\t" << *FirstTerminator;
----------------
paquette wrote:
> MachineVerifier test?
I couldn’t think of anything to verify since these have no operands or results


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137905



More information about the llvm-commits mailing list