[llvm] [InstCombine] disable select folding resulting in extra instructions (PR #97184)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 1 03:32:34 PDT 2024
https://github.com/nikic approved this pull request.
This is a step in the right direction, but I think after this change there is still an issue due to a missing one-use check on the icmp?
If we have multi-use icmp, then we shouldn't do the transform even if we don't need to insert a shift, as it would still increase instructions.
https://github.com/llvm/llvm-project/pull/97184
More information about the llvm-commits
mailing list