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.
Paths
| Differential D32056
AMDGPU: Move trap lowering to DAG ClosedPublic Authored by arsenm on Apr 13 2017, 3:01 PM.
Details
Summary Fixes traps in any block besides the entry block, Also happens to stop emitting a nop in the case
Diff Detail Event TimelineHerald added subscribers: t-tye, tpr, dstuttard and 4 others. · View Herald TranscriptApr 13 2017, 3:01 PM Comment Actions http://llvm.org/docs/AMDGPUUsage.html#non-hsa-os also needs updating.
This revision is now accepted and ready to land.Apr 24 2017, 10:02 AM
Revision Contents
Diff 95475 docs/AMDGPUUsage.rst
lib/Target/AMDGPU/AMDGPUISelLowering.h
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
lib/Target/AMDGPU/AMDGPUInstrInfo.td
lib/Target/AMDGPU/SIISelLowering.cpp
lib/Target/AMDGPU/SIInstructions.td
test/CodeGen/AMDGPU/trap.ll
|
formatting.