[PATCH] D156499: [InstCombine] Fold abs of known sign operand when source is sub

Allen zhong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 6 20:44:53 PDT 2023


Allen updated this revision to Diff 547635.
Allen marked an inline comment as done.
Allen added a comment.

rebase after 2 new tests sub_abs_sgeT_swap and sub_abs_sgeT_false


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

https://reviews.llvm.org/D156499

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
  llvm/test/Transforms/InstCombine/abs-intrinsic.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156499.547635.patch
Type: text/x-patch
Size: 4931 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230807/cc855469/attachment.bin>


More information about the llvm-commits mailing list