This patch adds some test cases from https://github.com/llvm/llvm-project/issues/63321.
It is the first part of D153148.
Differential D154187
[InstCombine] Add test cases from PR63321. NFC. dtcxzyw on Jun 30 2023, 12:06 AM. Authored by
Details This patch adds some test cases from https://github.com/llvm/llvm-project/issues/63321. It is the first part of D153148.
Diff Detail
Event Timeline
|
I am not sure that it should not be folded into select.
D153148 folds it into select and seems to generate better instruction seq.
x86-64: https://godbolt.org/z/jv9v9xTMT
riscv64: https://godbolt.org/z/zTbbnn9x4
arm: https://godbolt.org/z/eK6xWKnrb