aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2021-04-11 18:41:51 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2021-04-11 18:42:01 +0100
commit38c799bce8016f7487067a031b62cf98069aaa4d (patch)
tree5bd3873e9a7582dc945d7adebe2f7520c3ce0800 /llvm/lib/Transforms/Utils/Local.cpp
parent3ae71226ef4963c01792e7679a21fd0fb61b40d6 (diff)
downloadllvm-38c799bce8016f7487067a031b62cf98069aaa4d.zip
llvm-38c799bce8016f7487067a031b62cf98069aaa4d.tar.gz
llvm-38c799bce8016f7487067a031b62cf98069aaa4d.tar.bz2
[X86] Fold cmpeq/ne(and(X,Y),Y) --> cmpeq/ne(and(~X,Y),0)
Followup to D100177, handle an similar (demorgan inverse style) case from PR47797 as well The AVX512 test cases could be further improved if we folded not(iX bitcast(vXi1)) -> (iX bitcast(not(vXi1))) Alive2: https://alive2.llvm.org/ce/z/AnA_-W
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions