[PATCH] D37713: [InstSimplify] fold sdiv/srem based on compare of dividend and divisor

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 14 08:00:47 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL313264: [InstSimplify] fold sdiv/srem based on compare of dividend and divisor (authored by spatel).

Changed prior to commit:
  https://reviews.llvm.org/D37713?vs=115073&id=115221#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D37713

Files:
  llvm/trunk/lib/Analysis/InstructionSimplify.cpp
  llvm/trunk/test/Transforms/InstCombine/div.ll
  llvm/trunk/test/Transforms/InstSimplify/exact-nsw-nuw.ll
  llvm/trunk/test/Transforms/InstSimplify/signed-div-rem.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37713.115221.patch
Type: text/x-patch
Size: 11195 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170914/7162a01e/attachment.bin>


More information about the llvm-commits mailing list