[X86] Add test case for SetCCMOVMSK combine.
authorLuo, Yuanke <yuanke.luo@intel.com>
Thu, 21 Apr 2022 13:38:55 +0000 (21:38 +0800)
committerLuo, Yuanke <yuanke.luo@intel.com>
Thu, 21 Apr 2022 13:47:40 +0000 (21:47 +0800)
commitfa4347261e76e37f9632fe010e2e7beae97d117b
tree85b7f9d6d4a13cd384c04a25580d00642cb3ca78
parent662f57ee21a45919ed85f912c3a05153d125d081
[X86] Add test case for SetCCMOVMSK combine.

Create 2 users for MOVMSK to test if compiler would perform the combine
"MOVMSK(CONCAT(X,Y)) == 0 ->  MOVMSK(OR(X,Y))".
llvm/test/CodeGen/X86/vector-compare-any_of.ll