Fix a fixme in CondPropagate.cpp by moving a PhiNode optimization into
authorNate Begeman <natebegeman@mac.com>
Thu, 4 Aug 2005 23:24:19 +0000 (23:24 +0000)
committerNate Begeman <natebegeman@mac.com>
Thu, 4 Aug 2005 23:24:19 +0000 (23:24 +0000)
commita83ba0f5c934e2cdbb5724cab365ecc0b5aae6c6
treec2f7359039f56fc721dea9838ec9662af10f8ba0
parentf065f05397d0a46482f3dd1ebad31cb2d27bd236
Fix a fixme in CondPropagate.cpp by moving a PhiNode optimization into
BasicBlock's removePredecessor routine.  This requires shuffling around
the definition and implementation of hasContantValue from Utils.h,cpp into
Instructions.h,cpp

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22664 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Instructions.h
include/llvm/Transforms/Utils/Local.h
lib/Transforms/Scalar/CondPropagate.cpp
lib/Transforms/Scalar/InstructionCombining.cpp
lib/Transforms/Utils/Local.cpp
lib/Transforms/Utils/LoopSimplify.cpp
lib/Transforms/Utils/PromoteMemoryToRegister.cpp
lib/VMCore/BasicBlock.cpp
lib/VMCore/Instructions.cpp