OSDN Git Service

[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)
commit47e6904fe1bba337709bfa57fc3d57376bb27cb8
treee5aff1f2e6a18c0e0d0c9a7c854872c712aaa87a
parent6704841232a01f1d4bc9e22ba7c9a74b395521cf
[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:

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280677 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCompares.cpp
test/Transforms/InstCombine/icmp-div-constant.ll [new file with mode: 0644]