[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
Chris Lattner
sabre at nondot.org
Fri Apr 27 22:27:54 PDT 2007
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.753 -> 1.754
---
Log message:
fix a bug triggered by 403.gcc
---
Diffs of the changes: (+1 -2)
InstructionCombining.cpp | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.753 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.754
--- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.753 Fri Apr 27 23:52:43 2007
+++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp Sat Apr 28 00:27:36 2007
@@ -6408,8 +6408,7 @@
// Handle silly modulus not returning values values [0..TySize).
if (Offset < 0) {
- assert(FirstIdx == 0);
- FirstIdx = -1;
+ --FirstIdx;
Offset += TySize;
assert(Offset >= 0);
}
More information about the llvm-commits
mailing list