[llvm-commits] [SignlessTypes] CVS: llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp

Zhou Sheng zhousheng00 at gmail.com
Mon Oct 23 11:01:25 PDT 2006



Changes in directory llvm/projects/Stacker/lib/compiler:

StackerCompiler.cpp updated: 1.18.2.3 -> 1.18.2.4
---
Log message:



---
Diffs of the changes:  (+1 -1)

 StackerCompiler.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp
diff -u llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp:1.18.2.3 llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp:1.18.2.4
--- llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp:1.18.2.3	Thu Oct 19 23:27:18 2006
+++ llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp	Mon Oct 23 13:01:10 2006
@@ -1052,7 +1052,7 @@
         LoadInst* op1 = cast<LoadInst>(pop_integer(bb));
         LoadInst* op2 = cast<LoadInst>(pop_integer(bb));
         BinaryOperator* divop =
-            BinaryOperator::create( Instruction::Rem, op1, op2);
+            BinaryOperator::create( Instruction::SRem, op1, op2);
         bb->getInstList().push_back( divop );
         push_value( bb, divop );
         break;






More information about the llvm-commits mailing list