[llvm-commits] [llvm-gcc-4.2] r56062 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
Bill Wendling
isanbard at gmail.com
Wed Sep 10 11:27:20 PDT 2008
Author: void
Date: Wed Sep 10 13:27:20 2008
New Revision: 56062
URL: http://llvm.org/viewvc/llvm-project?rev=56062&view=rev
Log:
Allow rounding up to the next limited precision. I.e., don't error
out if the user specifies a non-6-, 12-, or 18-bit value.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp?rev=56062&r1=56061&r2=56062&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp Wed Sep 10 13:27:20 2008
@@ -161,12 +161,6 @@
std::vector<std::string> ArgStrings;
if (flag_limited_precision > 0) {
- if (flag_limited_precision != 6 &&
- flag_limited_precision != 12 &&
- flag_limited_precision != 18) {
- error ("only 6-, 12-, and 18-bit limited precision values supported.");
- }
-
std::string Arg = "--limit-float-precision=";
Arg += utostr(flag_limited_precision);
ArgStrings.push_back(Arg);
More information about the llvm-commits
mailing list