[llvm-commits] [hlvm] r38384 - /hlvm/trunk/tools/hlvm-gentestcase/Generate.cpp
Reid Spencer
reid at x10sys.com
Sat Jul 7 17:02:53 PDT 2007
Author: reid
Date: Sat Jul 7 19:02:53 2007
New Revision: 38384
URL: http://llvm.org/viewvc/llvm-project?rev=38384&view=rev
Log:
Make sure we have enough bits in the exponent of real types in order
to handle the floating point value ranges we generate.
Modified:
hlvm/trunk/tools/hlvm-gentestcase/Generate.cpp
Modified: hlvm/trunk/tools/hlvm-gentestcase/Generate.cpp
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/tools/hlvm-gentestcase/Generate.cpp?rev=38384&r1=38383&r2=38384&view=diff
==============================================================================
--- hlvm/trunk/tools/hlvm-gentestcase/Generate.cpp (original)
+++ hlvm/trunk/tools/hlvm-gentestcase/Generate.cpp Sat Jul 7 19:02:53 2007
@@ -186,7 +186,7 @@
Locator* loc = getLocator();
std::string name = "real_" + utostr(line);
result =
- ast->new_RealType(name,bundle,randRange(1,52),randRange(1,11),loc);
+ ast->new_RealType(name,bundle,randRange(8,52),randRange(8,11),loc);
break;
}
case PointerTypeID:
More information about the llvm-commits
mailing list