[PATCH] D50636: [DAGCombiner] Add X / X -> 1 & X % X -> 0 folds.
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 28 03:52:04 PDT 2018
RKSimon updated this revision to Diff 162822.
RKSimon added a comment.
Applied @jonpa's test fix.
@craig.topper I also made a fix to vector-idiv-v2i32.ll which I think was a typo?
Repository:
rL LLVM
https://reviews.llvm.org/D50636
Files:
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/MSP430/libcalls.ll
test/CodeGen/SystemZ/pr32372.ll
test/CodeGen/X86/combine-sdiv.ll
test/CodeGen/X86/combine-srem.ll
test/CodeGen/X86/combine-udiv.ll
test/CodeGen/X86/combine-urem.ll
test/CodeGen/X86/pr38539.ll
test/CodeGen/X86/vector-idiv-v2i32.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50636.162822.patch
Type: text/x-patch
Size: 36445 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180828/1c22f146/attachment.bin>
More information about the llvm-commits
mailing list