[TableGen] Replace a logically negated xor of bools with just an equality comparison...
[oota-llvm.git] / utils / TableGen / AsmMatcherEmitter.cpp
index 9a4390753c2fb70ff3654194593578d377468b8d..6e9a9484dc8863d93dc274165fc9a3ca27599150 100644 (file)
@@ -589,7 +589,7 @@ struct MatchableInfo {
         HasGT = true;
     }
 
-    return !(HasLT ^ HasGT);
+    return HasLT == HasGT;
   }
 
   void dump() const;