Handle constants in phi nodes properly. This fixes test/Transforms/GVNPRE/2007-06...
authorOwen Anderson <resistor@mac.com>
Tue, 19 Jun 2007 07:35:36 +0000 (07:35 +0000)
committerOwen Anderson <resistor@mac.com>
Tue, 19 Jun 2007 07:35:36 +0000 (07:35 +0000)
commitd0954105f0b1fb72008e2f734ed34510309d5048
treed1161a16bf89e1050d8e68c013fa16ebc16e31a7
parent20c2b35c2f2cfeda290ae3e4c08a80cd85a4785b
Handle constants in phi nodes properly.  This fixes test/Transforms/GVNPRE/2007-06-18-ConstantInPhi.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37655 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/GVNPRE.cpp