InstCombine: Fix and simplify the inttoptr side too.
authorBenjamin Kramer <benny.kra@googlemail.com>
Tue, 5 Feb 2013 20:22:40 +0000 (20:22 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 5 Feb 2013 20:22:40 +0000 (20:22 +0000)
commit39b5f12dd68430c4794b1d24af0fd204c82bc12f
treed252268e13ce725a610db358d7401f01105bd35c
parent07b884af25d28928880e77cd902eda0b74e0949a
InstCombine: Fix and simplify the inttoptr side too.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174438 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCasts.cpp
test/Transforms/InstCombine/ptr-int-cast.ll