[PATCH] D71312: [InstCombine] Fold X / abs(X) to X < 0 ? -1 : 1

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 10 16:46:39 PST 2019


xbolva00 updated this revision to Diff 233227.
xbolva00 added a comment.

Addressed comments.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71312

Files:
  llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  llvm/test/Transforms/InstCombine/sdiv-abs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71312.233227.patch
Type: text/x-patch
Size: 5670 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191211/bd34c079/attachment.bin>


More information about the llvm-commits mailing list