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
diff --git a/utils/TableGen/IntrinsicEmitter.cpp b/utils/TableGen/IntrinsicEmitter.cpp
index 9c4338e..7883e7c 100644
--- a/utils/TableGen/IntrinsicEmitter.cpp
+++ b/utils/TableGen/IntrinsicEmitter.cpp
@@ -222,7 +222,7 @@
           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;