This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Don't use report_fatal_error for unsupported call types
ClosedPublic

Authored by arsenm on Jul 28 2017, 10:19 AM.

Details

Reviewers
rampitec
tstellar

Diff Detail

Event Timeline

arsenm created this revision.Jul 28 2017, 10:19 AM
This revision is now accepted and ready to land.Jul 28 2017, 1:31 PM
rampitec added inline comments.Jul 28 2017, 1:40 PM
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
1028

Maybe it make sense to inject s_trap as well.

arsenm added inline comments.Aug 3 2017, 4:20 PM
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
1028

This would complicate things. As it is traps are broken when the handler isn't enabled since it ends up inserted a terminator in the middle of the block

arsenm closed this revision.Aug 3 2017, 4:33 PM

r310004

lib/Target/AMDGPU/SIISelLowering.cpp