[X86][AVX] lowerShuffleWithPERMV - adjust binary shuffle masks to account for widenin...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 6 Sep 2020 13:52:06 +0000 (14:52 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 6 Sep 2020 13:52:25 +0000 (14:52 +0100)
commitecac5c28089283fbaef1fec758535ca700095a09
tree3211d35bad4855e254644b3b5e4528c8770c4141
parent667e800bb3a8c1bdda0cabad7549c766b3424064
[X86][AVX] lowerShuffleWithPERMV - adjust binary shuffle masks to account for widening on non-VLX targets

rGabd33bf5eff2 enabled us to pad 128/256-bit shuffles to 512-bit on non-VLX targets, but wasn't updating binary shuffles to account for the new vector width.
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/shuffle-strided-with-offset-512.ll
llvm/test/CodeGen/X86/shuffle-vs-trunc-512.ll