aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-04-30 18:45:30 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-04-30 19:18:51 +0100
commitbf468f4349071f28755ca7ea7a53f21fc8c8ddbf (patch)
treefb180227c746036409dd2e90bc0f146269d0e892 /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
parent2cf93ef9fe1df61b2aac97dc3320a12386a7dab5 (diff)
downloadllvm-bf468f4349071f28755ca7ea7a53f21fc8c8ddbf.zip
llvm-bf468f4349071f28755ca7ea7a53f21fc8c8ddbf.tar.gz
llvm-bf468f4349071f28755ca7ea7a53f21fc8c8ddbf.tar.bz2
[X86][SSE] Canonicalize UNARYSHUFFLE(XOR(X,-1) -> XOR(UNARYSHUFFLE(X),-1)
This pushes the NOT pattern up the DAG to help expose it for further combines (AND->ANDN in particular). The PSHUFD/MOVDDUP 'splat' cases are the only ones I've seen in the wild so far, we can further generalize if/when we need to.
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp')
0 files changed, 0 insertions, 0 deletions