[TableGen] Fix formatting and use logical OR. NFC
[oota-llvm.git] / utils / TableGen / CodeGenDAGPatterns.cpp
index 35b6bf4416b50d6b8c575da48f9e8c153ced98f7..b28164f9d04d5c7c8f736af22872765b38596a78 100644 (file)
@@ -481,8 +481,7 @@ bool EEVT::TypeSet::EnforceVectorEltTypeIs(EEVT::TypeSet &VTOperand,
   if (isConcrete()) {
     MVT IVT = getConcrete();
     IVT = IVT.getVectorElementType();
-    return MadeChange |
-      VTOperand.MergeInTypeInfo(IVT.SimpleTy, TP);
+    return MadeChange || VTOperand.MergeInTypeInfo(IVT.SimpleTy, TP);
   }
 
   // If the scalar type is known, filter out vector types whose element types