[llvm] [PowerPC] Fix lowering when performing conditional jumps on f128 or f16 (PR #125776)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 8 14:01:14 PDT 2025


nikic wrote:

To expand on my comment, I believe the issue here is that SetCC + BrCond get merged to BR_CC for a legal type, but then set SetCC + BR_CC gets optimized so it now works on an illegal type. We should either prevent that from happening (if the invariant is that we never create illegal BR_CC in the first place) or we need to actually be able to legalize that BR_CC.

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


More information about the llvm-commits mailing list