[X86] Add test for select folding.
authorLuo, Yuanke <yuanke.luo@intel.com>
Fri, 26 May 2023 03:47:55 +0000 (11:47 +0800)
committerLuo, Yuanke <yuanke.luo@intel.com>
Fri, 26 May 2023 05:00:21 +0000 (13:00 +0800)
commit3d075fe487428e7e3e03422fadf0f0ba501c366d
tree9268cd30b4de4b2cac6b14f75e1be5380ce501f8
parent8ee22b689142f70d675e8bd48649f477e7cdb639
[X86] Add test for select folding.

When avx512 is available the lhs operand of select instruction can be
folded with mask instruction, while the rhs operand can't.
llvm/test/CodeGen/X86/vector-bo-select-avx512.ll [new file with mode: 0644]