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:
3d69cf5
)
Fix EnforceSmallerThan to check !hasVectorTypes on the other type instead of this...
author
Craig Topper
<craig.topper@gmail.com>
Sat, 25 Jan 2014 05:17:38 +0000
(
05:17
+0000)
committer
Craig Topper
<craig.topper@gmail.com>
Sat, 25 Jan 2014 05:17:38 +0000
(
05:17
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200070
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 6941732aaac58f797f5f790271ac5aac6d4f6c8f..3f165b51d4cbb0ddcbe65f8a0f0e0b0cebd6d3ae 100644
(file)
--- a/
utils/TableGen/CodeGenDAGPatterns.cpp
+++ b/
utils/TableGen/CodeGenDAGPatterns.cpp
@@
-371,7
+371,7
@@
bool EEVT::TypeSet::EnforceSmallerThan(EEVT::TypeSet &Other, TreePattern &TP) {
// If one contains vectors but the other doesn't pull vectors out.
if (!hasVectorTypes())
MadeChange |= Other.EnforceScalar(TP);
- if (!hasVectorTypes())
+ if (!
Other.
hasVectorTypes())
MadeChange |= EnforceScalar(TP);
if (TypeVec.size() == 1 && Other.TypeVec.size() == 1) {