diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2021-03-04 10:44:23 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2021-03-04 10:44:38 +0000 |
commit | 1584e55a2602cd9fe0db059b06a217822ffac7cd (patch) | |
tree | e406984757db7157c3c2d076aa9a7f98f4bcb562 /llvm/tools/llvm-mca/llvm-mca.cpp | |
parent | c907681b077c6acf95c3ddca6611639c29559e40 (diff) | |
download | llvm-1584e55a2602cd9fe0db059b06a217822ffac7cd.zip llvm-1584e55a2602cd9fe0db059b06a217822ffac7cd.tar.gz llvm-1584e55a2602cd9fe0db059b06a217822ffac7cd.tar.bz2 |
[X86] canonicalizeShuffleWithBinOps - handle general unaryshuffle(binop(x,c)) patterns not just xor(x,-1)
Generalize the shuffle(not(x)) -> not(shuffle(x)) fold to handle any binop with 0/-1.
Hopefully we can further generalize to help push target unary/binary shuffles through binops similar to what we do in DAGCombiner::visitVECTOR_SHUFFLE
Diffstat (limited to 'llvm/tools/llvm-mca/llvm-mca.cpp')
0 files changed, 0 insertions, 0 deletions