Fix -Winfinite-recursion compile error.

llvm-svn: 347749
diff --git a/llvm/utils/TableGen/CodeGenInstruction.h b/llvm/utils/TableGen/CodeGenInstruction.h
index 04ad6d2..990ea21 100644
--- a/llvm/utils/TableGen/CodeGenInstruction.h
+++ b/llvm/utils/TableGen/CodeGenInstruction.h
@@ -65,7 +65,9 @@
           return false;
         return true;
       }
-      bool operator!=(const ConstraintInfo &RHS) const { return *this != RHS; }
+      bool operator!=(const ConstraintInfo &RHS) const {
+        return !(*this == RHS);
+      }
     };
 
     /// OperandInfo - The information we keep track of for each operand in the