[PATCH] D36006: AMDGPU: Don't use report_fatal_error for unsupported call types

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 3 16:20:32 PDT 2017


arsenm added inline comments.


================
Comment at: lib/Target/AMDGPU/AMDGPUISelLowering.cpp:1028
 
   return DAG.getEntryNode();
 }
----------------
rampitec wrote:
> Maybe it make sense to inject s_trap as well.
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


https://reviews.llvm.org/D36006





More information about the llvm-commits mailing list