[llvm] [PowerPC] Fix crash when promoting smaller types to 64 bit ucmp (PR #203399)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 21 07:40:12 PDT 2026


https://github.com/nikic requested changes to this pull request.

I'd like the original change to be reverted instead.

You can resubmit a fixed version of it afterwards. I'm not convinced your promotion implementation is right, because legalization actions on ucmp/scmp refer to the *return* type, not the *argument* type, but you do the promotion on the argument type.

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


More information about the llvm-commits mailing list