[llvm-commits] CVS: llvm/include/llvm/Transforms/Utils/Local.h
Nate Begeman
natebegeman at mac.com
Thu Aug 4 16:24:32 PDT 2005
Changes in directory llvm/include/llvm/Transforms/Utils:
Local.h updated: 1.18 -> 1.19
---
Log message:
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
---
Diffs of the changes: (+0 -10)
Local.h | 10 ----------
1 files changed, 10 deletions(-)
Index: llvm/include/llvm/Transforms/Utils/Local.h
diff -u llvm/include/llvm/Transforms/Utils/Local.h:1.18 llvm/include/llvm/Transforms/Utils/Local.h:1.19
--- llvm/include/llvm/Transforms/Utils/Local.h:1.18 Thu Apr 21 15:59:05 2005
+++ llvm/include/llvm/Transforms/Utils/Local.h Thu Aug 4 18:24:19 2005
@@ -74,16 +74,6 @@
bool dceInstruction(BasicBlock::iterator &BBI);
//===----------------------------------------------------------------------===//
-// PHI Instruction Simplification
-//
-
-/// hasConstantValue - If the specified PHI node always merges together the same
-/// value, return the value, otherwise return null.
-///
-Value *hasConstantValue(PHINode *PN);
-
-
-//===----------------------------------------------------------------------===//
// Control Flow Graph Restructuring...
//
More information about the llvm-commits
mailing list