[PATCH] D100177: [X86][BMI] Fold cmpeq(or(X,Y),X) --> cmpeq(and(~X,Y),0) (PR44136)
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 9 05:33:50 PDT 2021
RKSimon added a comment.
Just noticed this works for cmpne as well - https://alive2.llvm.org/ce/z/pLngT- - I'll update the tests/patch
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100177/new/
https://reviews.llvm.org/D100177
More information about the llvm-commits
mailing list