[PATCH] D157187: [InstCombine] Propagate the nuw/nsw for instruction neg-sub
Allen zhong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 6 23:22:16 PDT 2023
Allen updated this revision to Diff 547650.
Allen edited the summary of this revision.
Allen added a comment.
Add condition **Op1->hasOneUse()** and its related test **src_neg_sub_both_nsw_other_use**
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157187/new/
https://reviews.llvm.org/D157187
Files:
llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
llvm/test/Transforms/InstCombine/abs-intrinsic.ll
llvm/test/Transforms/InstCombine/nsw.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157187.547650.patch
Type: text/x-patch
Size: 5703 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230807/e478feb6/attachment.bin>
More information about the llvm-commits
mailing list