[PATCH] D127903: [InstCombine] Optimize test for same-sign of values

Eric Gullufsen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 17 16:06:06 PDT 2022


emgullufsen updated this revision to Diff 438058.
emgullufsen added a comment.

Not using m_c matchers on first match and added "Negative" tests and tests for commutativity of inputs and compares.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127903

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/test/Transforms/InstCombine/and-or-icmps.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127903.438058.patch
Type: text/x-patch
Size: 9633 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220617/42ade2c7/attachment.bin>


More information about the llvm-commits mailing list