Reapply 132348 with fixes. rdar://problem/6501862
authorStuart Hastings <stuart@apple.com>
Wed, 1 Jun 2011 16:42:47 +0000 (16:42 +0000)
committerStuart Hastings <stuart@apple.com>
Wed, 1 Jun 2011 16:42:47 +0000 (16:42 +0000)
commitf1002828fdaffa4e005a81f269c77fe72951f39f
tree37bf95b58625eb68b88e2366593bf7ba3c387999
parentd7de95464482a635270ac2f8b1562d2ba3b6c4b7
Reapply 132348 with fixes.  rdar://problem/6501862

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132402 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
test/Transforms/InstCombine/2011-05-28-swapmulsub.ll