[llvm-commits] [SignlessTypes] CVS: llvm/lib/Analysis/ScalarEvolution.cpp

Reid Spencer reid at x10sys.com
Wed Oct 25 18:58:36 PDT 2006



Changes in directory llvm/lib/Analysis:

ScalarEvolution.cpp updated: 1.53.2.4 -> 1.53.2.5
---
Log message:

Round 2 of DIV updates. 


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

 ScalarEvolution.cpp |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)


Index: llvm/lib/Analysis/ScalarEvolution.cpp
diff -u llvm/lib/Analysis/ScalarEvolution.cpp:1.53.2.4 llvm/lib/Analysis/ScalarEvolution.cpp:1.53.2.5
--- llvm/lib/Analysis/ScalarEvolution.cpp:1.53.2.4	Mon Oct 23 13:13:26 2006
+++ llvm/lib/Analysis/ScalarEvolution.cpp	Wed Oct 25 20:58:05 2006
@@ -1385,9 +1385,8 @@
       return SCEVMulExpr::get(getSCEV(I->getOperand(0)),
                               getSCEV(I->getOperand(1)));
     case Instruction::SDiv:
-      if (V->getType()->isInteger())
-        return SCEVSDivExpr::get(getSCEV(I->getOperand(0)),
-                                 getSCEV(I->getOperand(1)));
+      return SCEVSDivExpr::get(getSCEV(I->getOperand(0)),
+                              getSCEV(I->getOperand(1)));
       break;
 
     case Instruction::Sub:






More information about the llvm-commits mailing list