Give GVN back the ability to perform simple conditional propagation on conditional...
authorOwen Anderson <resistor@mac.com>
Tue, 21 Dec 2010 23:54:34 +0000 (23:54 +0000)
committerOwen Anderson <resistor@mac.com>
Tue, 21 Dec 2010 23:54:34 +0000 (23:54 +0000)
commitf0568389563d46a7252ce8a17ef316e313cc17c6
tree9b02598fc1a44c967ae76446eb20d6a14a3d8fec
parente733cf8c2743acf0e4bee4952dfb013de6257478
Give GVN back the ability to perform simple conditional propagation on conditional branch values.
I still think that LVI should be handling this, but that capability is some ways off in the future,
and this matters for some significant benchmarks.

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