[PATCH] D129622: [InstCombine] add fold (X > C - 1) ^ (X < C + 1) --> X != C

Chenbing.Zheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 18 02:18:21 PDT 2022


Chenbing.Zheng updated this revision to Diff 445426.
Chenbing.Zheng added a comment.

address comments and add tests
https://alive2.llvm.org/ce/z/c_rBaq


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129622

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/test/Transforms/InstCombine/set.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129622.445426.patch
Type: text/x-patch
Size: 4197 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220718/0c5daf9b/attachment.bin>


More information about the llvm-commits mailing list