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

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 12 11:49:08 PDT 2024


efriedma-quic wrote:

IMO, this makes sense to do this as the default for all targets... just nobody has actually proposed a patch to do that.  (See also https://discourse.llvm.org/t/can-we-keep-must-progress-optimizations-around-infinite-loop-in-c-while-avoiding-some-surprising-behavior/69205 https://discourse.llvm.org/t/zero-length-function-pointer-equality/55984/26 .)

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


More information about the llvm-commits mailing list