diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-09-15 17:08:45 +0100 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-09-15 17:31:08 +0100 |
commit | a43e68b58b085797e2f1435765255ebd431db297 (patch) | |
tree | acb44428591f6ef1044d194fd00688bc49ba9196 /llvm/lib/Support/MemoryBuffer.cpp | |
parent | 4ddd985ca941e48a016e8d7270921b4aa76afbe1 (diff) | |
download | llvm-a43e68b58b085797e2f1435765255ebd431db297.zip llvm-a43e68b58b085797e2f1435765255ebd431db297.tar.gz llvm-a43e68b58b085797e2f1435765255ebd431db297.tar.bz2 |
[X86][AVX] lowerShuffleWithSHUFPS - handle missed canonicalization cases.
PR47534 exposes a case where calling lowerShuffleWithSHUFPS directly from a derived repeated mask (found by is128BitLaneRepeatedShuffleMask) results in us using an non-canonicalized mask.
The missed canonicalization in this case is trivial - just commute the mask so we have more (swapped) LHS than RHS references so lowerShuffleWithSHUFPS can handle it.
Diffstat (limited to 'llvm/lib/Support/MemoryBuffer.cpp')
0 files changed, 0 insertions, 0 deletions