[PATCH] D122013: [InstCombine] Fold abs of known negative operand when source is sub
chenglin.bi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 21 08:21:29 PDT 2022
bcl5980 updated this revision to Diff 416956.
bcl5980 marked an inline comment as done.
bcl5980 added a comment.
update based on spatel's suggestion
1. use match pattern
2. add more tests
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122013/new/
https://reviews.llvm.org/D122013
Files:
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
llvm/test/Transforms/InstCombine/abs-intrinsic.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122013.416956.patch
Type: text/x-patch
Size: 4437 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220321/498c9b0b/attachment.bin>
More information about the llvm-commits
mailing list