[llvm] r253962 - [TableGen] Fix formatting and use logical OR. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 24 00:20:44 PST 2015
Author: ctopper
Date: Tue Nov 24 02:20:44 2015
New Revision: 253962
URL: http://llvm.org/viewvc/llvm-project?rev=253962&view=rev
Log:
[TableGen] Fix formatting and use logical OR. NFC
Modified:
llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp
Modified: llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp?rev=253962&r1=253961&r2=253962&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp (original)
+++ llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp Tue Nov 24 02:20:44 2015
@@ -481,8 +481,7 @@ bool EEVT::TypeSet::EnforceVectorEltType
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
More information about the llvm-commits
mailing list