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

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 24 05:05:13 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 bailing

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


More information about the llvm-commits mailing list