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:
5ce9d0b
)
really fix an off-by-one error
author
Chris Lattner
<sabre@nondot.org>
Tue, 23 Feb 2010 01:07:39 +0000
(
01:07
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 23 Feb 2010 01:07:39 +0000
(
01:07
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96845
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/DAGISelMatcherEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/DAGISelMatcherEmitter.cpp
b/utils/TableGen/DAGISelMatcherEmitter.cpp
index ed720df8081d5781b12eb736679dbdc7a5015837..c3169509db51d828d4424e965639cf6091ba118a 100644
(file)
--- a/
utils/TableGen/DAGISelMatcherEmitter.cpp
+++ b/
utils/TableGen/DAGISelMatcherEmitter.cpp
@@
-137,7
+137,7
@@
static unsigned EmitVBRValue(unsigned Val, raw_ostream &OS) {
unsigned InVal = Val;
unsigned NumBytes = 0;
- while (Val > 128) {
+ while (Val >
=
128) {
OS << (Val&127) << "|128,";
Val >>= 7;
++NumBytes;