[PATCH] D152348: [InstCombine] Transform (icmp eq/ne rotate(X,A0),rotate(X,A1)) -> (icmp eq/ne rotate(X,A0-A1))

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 7 12:36:27 PDT 2023


goldstein.w.n updated this revision to Diff 529405.
goldstein.w.n marked an inline comment as done.
goldstein.w.n added a comment.

support roatate(X) with rotate(Y)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152348

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/test/Transforms/InstCombine/icmp-equality-rotate.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152348.529405.patch
Type: text/x-patch
Size: 4644 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230607/11e54127/attachment.bin>


More information about the llvm-commits mailing list