[PATCH] D100177: [X86][BMI] Fold cmpeq/ne(or(X,Y),X) --> cmpeq/ne(and(~X,Y),0) (PR44136)

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 9 05:57:51 PDT 2021


RKSimon updated this revision to Diff 336420.
RKSimon retitled this revision from "[X86][BMI] Fold cmpeq(or(X,Y),X) --> cmpeq(and(~X,Y),0) (PR44136)" to "[X86][BMI] Fold cmpeq/ne(or(X,Y),X) --> cmpeq/ne(and(~X,Y),0) (PR44136)".
RKSimon edited the summary of this revision.
RKSimon added a comment.

Added cmpne handling


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100177/new/

https://reviews.llvm.org/D100177

Files:
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/X86/setcc-logic.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100177.336420.patch
Type: text/x-patch
Size: 4703 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210409/56652bdd/attachment.bin>


More information about the llvm-commits mailing list