Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.140 -> 1.141 --- Log message: Revert previous patch. Additional tests fail. --- Diffs of the changes: (+0 -3) Constants.cpp | 3 --- 1 files changed, 3 deletions(-) Index: llvm/lib/VMCore/Constants.cpp diff -u llvm/lib/VMCore/Constants.cpp:1.140 llvm/lib/VMCore/Constants.cpp:1.141 --- llvm/lib/VMCore/Constants.cpp:1.140 Thu Dec 22 15:07:29 2005 +++ llvm/lib/VMCore/Constants.cpp Thu Dec 22 15:46:37 2005 @@ -482,9 +482,6 @@ // TODO: Figure out how to test if a double can be cast to a float! case Type::FloatTyID: - float FV = float(Val); - double DV = double(FV); - return IsNAN(Val) || Val == DV; case Type::DoubleTyID: return true; // This is the largest type... } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits