Implement PR1777 by detecting dependent phis that
authorChris Lattner <sabre@nondot.org>
Tue, 6 Nov 2007 21:52:06 +0000 (21:52 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 6 Nov 2007 21:52:06 +0000 (21:52 +0000)
commitcf5008a792ee6315e14ae76c2b7823213fd88146
tree631440d07c0f969f7105ccc71c8cece379678eef
parentbe6781b5d00107f4b60797c3ebdc0aab110487ff
Implement PR1777 by detecting dependent phis that
all compute the same value.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43777 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/phi-merge.ll [new file with mode: 0644]