[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 17:14:57 PST 2019
xbolva00 updated this revision to Diff 233236.
xbolva00 added a comment.
Implement general pattern.
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-select.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71312.233236.patch
Type: text/x-patch
Size: 8294 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191211/61e30280/attachment.bin>
More information about the llvm-commits
mailing list