[TableGen] Fix formatting and use logical OR. NFC
authorCraig Topper <craig.topper@gmail.com>
Tue, 24 Nov 2015 08:20:44 +0000 (08:20 +0000)
committerCraig Topper <craig.topper@gmail.com>
Tue, 24 Nov 2015 08:20:44 +0000 (08:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253962 91177308-0d34-0410-b5e6-96231b3b80d8

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