make jump threading handle lexically identical compare instructions
authorChris Lattner <sabre@nondot.org>
Fri, 19 Jun 2009 16:27:56 +0000 (16:27 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 19 Jun 2009 16:27:56 +0000 (16:27 +0000)
commit79c740ff479dde322aceafe15887b162c19ea195
treef6b26a86189dfd514ac17b434196827114fcb763
parent225503a5b5de954788ad1e4bc9c69211de334c05
make jump threading handle lexically identical compare instructions
as if they were multiple uses of the same instruction.  This interacts
well with the existing loadpre that j-t does to open up many new jump
threads earlier.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73768 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/JumpThreading.cpp
test/Transforms/JumpThreading/dup-cond.ll [new file with mode: 0644]