Followup to 132316; accept arbitrary constants, add with a constant,
authorStuart Hastings <stuart@apple.com>
Tue, 31 May 2011 19:29:55 +0000 (19:29 +0000)
committerStuart Hastings <stuart@apple.com>
Tue, 31 May 2011 19:29:55 +0000 (19:29 +0000)
commitdf48e84b5bf0967c1fc397912c109f29475c791b
treea885c0c7c46c2447411bddcbc4487868f90d9d77
parentf729e913539a1fce09c3ff465f3a0fe911f551a8
Followup to 132316; accept arbitrary constants, add with a constant,
sub with a non-constant.  Fix comments, enlarge test case.
rdar://problem/6501862

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