Use ReplaceInstUsesWith instead of replaceAllUsesWith where appropriate in instcombine.
authorEli Friedman <eli.friedman@gmail.com>
Wed, 18 May 2011 00:32:01 +0000 (00:32 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Wed, 18 May 2011 00:32:01 +0000 (00:32 +0000)
commit3e22cb9ec30cd9b1be9b0f50e400f512124997e5
treed91505c1c58284bc084beddbb3db5e371173f68b
parent28b42afcb88b796008d7fc1b84b754191e9566fa
Use ReplaceInstUsesWith instead of replaceAllUsesWith where appropriate in instcombine.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131512 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCalls.cpp
lib/Transforms/InstCombine/InstCombineCasts.cpp
lib/Transforms/InstCombine/InstructionCombining.cpp