[llvm] [SelectOpt] Fix incorrect IR for SUB when comparison dependent operand is first (PR #119362)

Igor Kirillov via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 10 03:51:54 PST 2024


igogo-x86 wrote:

Alternatively, we can add support for SUB(zext(), other_op), but in that case, we'll have to generate sub instructions in both branches, and I doubt it has the potential to give performance improvements. Not speaking about how uncommon this operation might be.

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


More information about the llvm-commits mailing list