[llvm] [PPC] Lower unreachable IR instruction to a trap. (PR #101379)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 9 13:21:24 PDT 2024


nikic wrote:

That property is not unique to PowerPC, pretty much every target will have some form of hardware trap.

A valid technical requirement to opt-in on a per target basis would be if omitting the trap causes verifier failures (relevant for wasm, or other targets with structurization requirements).

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


More information about the llvm-commits mailing list