[PATCH] D46769: [AMDGPU] Change llvm.debugtrap to be a debug breakpoint that can resume execution.

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 18 01:35:58 PDT 2018


arsenm added inline comments.


================
Comment at: lib/Target/AMDGPU/SIISelLowering.cpp:4003
+      !Subtarget->isTrapHandlerEnabled())
+    return DAG.getNode(AMDGPUISD::ENDPGM, SL, MVT::Other, Chain);
 
----------------
This can't be a terminator instruction. This will produce a terminator in the middle of the block verifier error. I think this is already an issue in some case


Repository:
  rL LLVM

https://reviews.llvm.org/D46769





More information about the llvm-commits mailing list