Changes in directory llvm/lib/Transforms/Scalar:

CorrelatedExprs.cpp updated: 1.37 -> 1.38
---
Log message:

remove dead code


---
Diffs of the changes:  (+0 -13)

 CorrelatedExprs.cpp |   13 -------------
 1 files changed, 13 deletions(-)


Index: llvm/lib/Transforms/Scalar/CorrelatedExprs.cpp
diff -u llvm/lib/Transforms/Scalar/CorrelatedExprs.cpp:1.37 
llvm/lib/Transforms/Scalar/CorrelatedExprs.cpp:1.38
--- llvm/lib/Transforms/Scalar/CorrelatedExprs.cpp:1.37 Thu Nov  2 14:25:50 2006
+++ llvm/lib/Transforms/Scalar/CorrelatedExprs.cpp      Thu Nov  2 19:34:58 2006
@@ -1146,19 +1146,6 @@
 //  Relation Implementation
 
//===----------------------------------------------------------------------===//
 
-// CheckCondition - Return true if the specified condition is false.  Bound may
-// be null.
-static bool CheckCondition(Constant *Bound, Constant *C,
-                           Instruction::BinaryOps BO) {
-  assert(C != 0 && "C is not specified!");
-  if (Bound == 0) return false;
-
-  Constant *Val = ConstantExpr::get(BO, Bound, C);
-  if (ConstantBool *CB = dyn_cast<ConstantBool>(Val))
-    return !CB->getValue();  // Return true if the condition is false...
-  return false;
-}
-
 // contradicts - Return true if the relationship specified by the operand
 // contradicts already known information.
 //



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to