[PATCH] D30665: [InstSimplify] vector div/rem with any zero element in divisor is undef
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 6 12:22:07 PST 2017
spatel created this revision.
Herald added a subscriber: mcrosier.
This was suggested as a DAG simplification in the review for https://reviews.llvm.org/rL297026 :
http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20170306/435253.html
...but let's start with IR since we have actual docs for IR (LangRef).
https://reviews.llvm.org/D30665
Files:
docs/LangRef.rst
lib/Analysis/InstructionSimplify.cpp
test/Transforms/InstCombine/vector-urem.ll
test/Transforms/InstSimplify/div.ll
test/Transforms/InstSimplify/rem.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30665.90733.patch
Type: text/x-patch
Size: 5881 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170306/89aab75a/attachment.bin>
More information about the llvm-commits
mailing list