[PATCH] D32056: AMDGPU: Move trap lowering to DAG

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 13 15:01:38 PDT 2017


arsenm created this revision.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, kzhuravl.

Fixes traps in any block besides the entry block,
and fixes depending on a live-in physical register
by using a virtual register copy.

      

Also happens to stop emitting a nop in the case
debug trap is not supported.


https://reviews.llvm.org/D32056

Files:
  lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  lib/Target/AMDGPU/AMDGPUISelLowering.h
  lib/Target/AMDGPU/AMDGPUInstrInfo.td
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Target/AMDGPU/SIInstructions.td
  test/CodeGen/AMDGPU/trap.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32056.95221.patch
Type: text/x-patch
Size: 7825 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170413/a2c751db/attachment.bin>


More information about the llvm-commits mailing list