[ARM] Fix i1 shuffle lowering with multiple operands.
authorDavid Green <david.green@arm.com>
Tue, 17 Jan 2023 11:29:51 +0000 (11:29 +0000)
committerDavid Green <david.green@arm.com>
Tue, 17 Jan 2023 11:29:51 +0000 (11:29 +0000)
commite49367e7f379e54e482480a502f64196db2c5663
tree911799a1d4eb379f73059d9b157accc7bac7dd75
parent6a9043ef2e129c6d952780eb658b580ef910e554
[ARM] Fix i1 shuffle lowering with multiple operands.

The existing lowering of i1 vector shuffle was only considering
single-source shuffles, always assuming the second was undef. This
extends that to properly handle both operands.
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/test/CodeGen/Thumb2/mve-pred-shuffle.ll