aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2021-08-22 15:26:17 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2021-08-22 15:26:17 +0100
commit352df10a238f7a2abbfa55a2acd5a43fcff80410 (patch)
treec63a6285839c81592db5ac7cff0ed3421fac6fa8 /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
parent96fb3eef660ffaf940c6e78d984cf2e985e76961 (diff)
downloadllvm-352df10a238f7a2abbfa55a2acd5a43fcff80410.zip
llvm-352df10a238f7a2abbfa55a2acd5a43fcff80410.tar.gz
llvm-352df10a238f7a2abbfa55a2acd5a43fcff80410.tar.bz2
[X86][AVX] matchShuffleAsBlend - use isElementEquivalent to help match broadcast/repeated elements
Extend matchShuffleAsBlend to not only match against known in-place elements for BLEND shuffles, but use isElementEquivalent to determine if the shuffle mask's referenced element is the same as the in-place element. This allows us to replace a number of insertps instructions with more general blendps instructions (better opportunities for commutation, concatenation etc.).
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions