[PATCH] D136582: [InstCombine] fold sub pattern to and

chenglin.bi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 24 03:10:01 PDT 2022


bcl5980 updated this revision to Diff 470099.
bcl5980 edited the summary of this revision.
bcl5980 added a comment.

Only detect APInt because the condition is too complicated.


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

https://reviews.llvm.org/D136582

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
  llvm/test/Transforms/InstCombine/sub.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136582.470099.patch
Type: text/x-patch
Size: 3609 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221024/b7aac029/attachment.bin>


More information about the llvm-commits mailing list