[X86][AVX] matchUnaryShuffle - avoid creation of on-the-fly nodes (PR45974)
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 30 Jan 2022 17:59:05 +0000 (17:59 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 30 Jan 2022 17:59:14 +0000 (17:59 +0000)
commitb7e04ccd996dbaf4f1087e2bec3d37bae03aaa47
tree237c88e99cf5e83f3fb215d40b551b0c906c4bc3
parent0ab09a9009b6e65b4ed5b982eb4291244857bc11
[X86][AVX] matchUnaryShuffle - avoid creation of on-the-fly nodes (PR45974)

Don't extract the ANY/ZERO_EXTEND_VECTOR_INREG subvector source until we're definitely combining to a new node.
llvm/lib/Target/X86/X86ISelLowering.cpp