projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
194e5ae
)
[TableGen] Fix formatting and use logical OR. NFC
author
Craig Topper
<craig.topper@gmail.com>
Tue, 24 Nov 2015 08:20:44 +0000
(08:20 +0000)
committer
Craig 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
patch
|
blob
|
history
diff --git
a/utils/TableGen/CodeGenDAGPatterns.cpp
b/utils/TableGen/CodeGenDAGPatterns.cpp
index 35b6bf4416b50d6b8c575da48f9e8c153ced98f7..b28164f9d04d5c7c8f736af22872765b38596a78 100644
(file)
--- a/
utils/TableGen/CodeGenDAGPatterns.cpp
+++ b/
utils/TableGen/CodeGenDAGPatterns.cpp
@@
-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