[llvm-commits] CVS: llvm/lib/Target/TargetMachine.cpp Target.td

Chris Lattner sabre at nondot.org
Wed May 2 17:27:29 PDT 2007



Changes in directory llvm/lib/Target:

TargetMachine.cpp updated: 1.63 -> 1.64
Target.td updated: 1.97 -> 1.98
---
Log message:

expose HonorSignDependentRoundingFPMathOption to .td files


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

 Target.td         |    5 +++++
 TargetMachine.cpp |    1 +
 2 files changed, 6 insertions(+)


Index: llvm/lib/Target/TargetMachine.cpp
diff -u llvm/lib/Target/TargetMachine.cpp:1.63 llvm/lib/Target/TargetMachine.cpp:1.64
--- llvm/lib/Target/TargetMachine.cpp:1.63	Wed May  2 19:16:07 2007
+++ llvm/lib/Target/TargetMachine.cpp	Wed May  2 19:27:11 2007
@@ -27,6 +27,7 @@
   bool NoExcessFPPrecision;
   bool UnsafeFPMath;
   bool FiniteOnlyFPMathOption;
+  bool HonorSignDependentRoundingFPMathOption;
   bool UseSoftFloat;
   bool NoZerosInBSS;
   bool ExceptionHandling;


Index: llvm/lib/Target/Target.td
diff -u llvm/lib/Target/Target.td:1.97 llvm/lib/Target/Target.td:1.98
--- llvm/lib/Target/Target.td:1.97	Tue May  1 00:57:02 2007
+++ llvm/lib/Target/Target.td	Wed May  2 19:27:11 2007
@@ -210,6 +210,11 @@
   string CondString = cond;
 }
 
+/// NoHonorSignDependentRounding - This predicate is true if support for
+/// sign-dependent-rounding is not enabled.
+def NoHonorSignDependentRounding
+ : Predicate<"!HonorSignDependentRoundingFPMath()">;
+
 class Requires<list<Predicate> preds> {
   list<Predicate> Predicates = preds;
 }






More information about the llvm-commits mailing list