projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
583dd60
)
fix typo Duncan noticed.
author
Chris Lattner
<sabre@nondot.org>
Fri, 9 Jan 2009 18:31:39 +0000
(18:31 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 9 Jan 2009 18:31:39 +0000
(18:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61997
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/InstructionCombining.cpp
b/lib/Transforms/Scalar/InstructionCombining.cpp
index c1a8eab95b50ca748cb468e6afd374c89761e6fc..a183c14ba530e45e33e2e0cdd538a27dd58fc834 100644
(file)
--- a/
lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/
lib/Transforms/Scalar/InstructionCombining.cpp
@@
-7712,7
+7712,7
@@
static bool FindElementAtOffset(const Type *Ty, int64_t Offset,
FirstIdx = Offset/TySize;
Offset %= TySize;
- // Handle silly modulus not returning values
values
[0..TySize).
+ // Handle silly modulus not returning values [0..TySize).
if (Offset < 0) {
--FirstIdx;
Offset += TySize;