aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/ReachingDefAnalysis.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2021-09-19 18:41:55 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2021-09-19 20:39:19 +0100
commitb7342e3137d8fa7c356a80c1ddecf1d410c27eef (patch)
treed980b837c2e580177faae6849ae1ba78c39a5fe5 /llvm/lib/CodeGen/ReachingDefAnalysis.cpp
parent2ca637c9769ff50e94ace3083075a97b50d147f0 (diff)
downloadllvm-b7342e3137d8fa7c356a80c1ddecf1d410c27eef.zip
llvm-b7342e3137d8fa7c356a80c1ddecf1d410c27eef.tar.gz
llvm-b7342e3137d8fa7c356a80c1ddecf1d410c27eef.tar.bz2
[X86] Fold SHUFPS(shuffle(x),shuffle(y),mask) -> SHUFPS(x,y,mask')
We can combine unary shuffles into either of SHUFPS's inputs and adjust the shuffle mask accordingly. Unlike general shuffle combining, we can be more aggressive and handle multiuse cases as we're not going to accidentally create additional shuffles.
Diffstat (limited to 'llvm/lib/CodeGen/ReachingDefAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions