[X86] combineBitcastvxi1 - peek through bitcast(concat(X,undef,undef,undef)) -> aext...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 4 Apr 2023 14:38:44 +0000 (15:38 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 4 Apr 2023 14:38:49 +0000 (15:38 +0100)
commite7c454630732c6095406630243cf4f9485ea1ecb
tree7bb1049efb9b247c072b7128b5ddb397ffe01c05
parent5509a18b5a38868e29fae1f7b19390b029c53091
[X86] combineBitcastvxi1 - peek through bitcast(concat(X,undef,undef,undef)) -> aext(bitcast(X))

Improves fix for #61683 to handle cases where the legalization concatenation isn't just 2 subops.
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/bitcast-and-setcc-256.ll