[InstCombine] don't assert that division-by-constant has been folded (PR30281)
authorSanjay Patel <spatel@rotateright.com>
Mon, 5 Sep 2016 23:38:22 +0000 (23:38 +0000)
committerSanjay Patel <spatel@rotateright.com>
Mon, 5 Sep 2016 23:38:22 +0000 (23:38 +0000)
commiteea2ef7862e0be7368a74b142d5d87f700b02a8d
treebde070e284bf8815a1d98e324c567c687042ce12
parent46f9df5b718891a74067ee59f2e2a1f38dd8e0ed
[InstCombine] don't assert that division-by-constant has been folded (PR30281)

This is effectively a revert of:
https://reviews.llvm.org/rL280115

And this should fix
https://llvm.org/bugs/show_bug.cgi?id=30281:

llvm-svn: 280677
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/test/Transforms/InstCombine/icmp-div-constant.ll [new file with mode: 0644]