[X86] Tweak avx512-gfni-intrinsics.ll tests to avoid xor(select(c,x,0)) 'passthrough...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 30 Sep 2022 14:22:08 +0000 (15:22 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 30 Sep 2022 14:38:17 +0000 (15:38 +0100)
commitba8e2cb90d6ff7e2347d0f393cd66e740974d1cd
tree949656c727fc61624a571ad044061ae2ce33ef1d
parentb3913a9cdf49102589e7dd31ff979bfaf958a720
[X86] Tweak avx512-gfni-intrinsics.ll tests to avoid xor(select(c,x,0)) 'passthrough' patterns

These can be manipulated by foldSelectWithIdentityConstant and lose the predicate/predicate-zero instruction test coverage - use an insertvalue chain into an aggregate instead to retain all the results.

Noticed while trying to convert foldSelectWithIdentityConstant to use llvm::isNeutralConstant
llvm/test/CodeGen/X86/avx512-gfni-intrinsics.ll