[llvm-commits] CVS: llvm/lib/VMCore/Constants.cpp
Reid Spencer
reid at x10sys.com
Thu Dec 22 13:46:49 PST 2005
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...
}
More information about the llvm-commits
mailing list