[llvm] [Target] Change `no-trap-after-noreturn` to `trap-after-noreturn` (PR #67925)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 2 12:47:01 PDT 2023


nikic wrote:

NoTrapAfterNoreturn is a modifier on TrapUnreachable. You enable traps and then disable some of them again. If you formulate this positively, it looks like TrapAfterNoreturn=true should work independently of TrapUnreachable (insert traps after noreturn calls only), which is not how this actually works.

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


More information about the llvm-commits mailing list