[llvm-commits] CVS: llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h

Reid Spencer reid at x10sys.com
Fri Dec 22 22:06:59 PST 2006



Changes in directory llvm/include/llvm/Analysis:

ScalarEvolutionExpressions.h updated: 1.9 -> 1.10
---
Log message:

For PR950: http://llvm.org/PR950 :
This patch removes the SetCC instructions and replaces them with the ICmp
and FCmp instructions. The SetCondInst instruction has been removed and 
been replaced with ICmpInst and FCmpInst.


---
Diffs of the changes:  (+4 -2)

 ScalarEvolutionExpressions.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)


Index: llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h
diff -u llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h:1.9 llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h:1.10
--- llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h:1.9	Sat Dec 16 23:15:12 2006
+++ llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h	Sat Dec 23 00:05:40 2006
@@ -426,8 +426,10 @@
     /// looking at this is that it returns the first iteration number where the
     /// value is not in the condition, thus computing the exit count.  If the
     /// iteration count can't be computed, an instance of SCEVCouldNotCompute is
-    /// returned.
-    SCEVHandle getNumIterationsInRange(ConstantRange Range) const;
+    /// returned. The isSigned parameter indicates whether the ConstantRange
+    /// should be treated as signed or unsigned.
+    SCEVHandle getNumIterationsInRange(ConstantRange Range, 
+                                       bool isSigned) const;
 
     SCEVHandle replaceSymbolicValuesWithConcrete(const SCEVHandle &Sym,
                                                  const SCEVHandle &Conc) const;






More information about the llvm-commits mailing list