aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-11-13 12:03:00 +0000
committerBill Wendling <isanbard@gmail.com>2008-11-13 12:03:00 +0000
commit023422a6eb9ea692a5a837dc1daf256ac75ac6b0 (patch)
tree6ccf3284b7ab5d0f653bb8d877975f10c40ee90f /utils
parent20072af3b0b22d90afbce769409f4ed822520366 (diff)
Fix to record comparator to make it work for return values > 1.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59242 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/IntrinsicEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/IntrinsicEmitter.cpp b/utils/TableGen/IntrinsicEmitter.cpp
index 9c4338e2eb..7883e7ca65 100644
--- a/utils/TableGen/IntrinsicEmitter.cpp
+++ b/utils/TableGen/IntrinsicEmitter.cpp
@@ -222,7 +222,7 @@ namespace {
return (*LHSVec)[i]->getName() < (*RHSVec)[i]->getName();
} while (++i != LHSSize);
- if (i != RHSSize) return false;
+ if (i != RHSSize) return true;
i = 0;
LHSVec = &LHS.second;