[llvm] [WIP] [CodeGen] Enable TrapUnreachable by default for all targets. (PR #109732)

via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 25 15:41:42 PDT 2024


duk-37 wrote:

> > > I'm not quite sure what to do about architectures that don't have hardware traps and don't like external calls to abort, namely eBPF and AMDGPU
> > 
> > AMDGPU does support traps, it just doesn't involve a call to abort. llvm.trap works fine
> 
> It worked in most cases, but I was running into one test-case where a call to abort was generated and ISel was panicking. I'll look a bit more into it.

Update: This seems to be specific to the R600 backend and only one test fails.


https://github.com/llvm/llvm-project/pull/109732


More information about the llvm-commits mailing list