OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6215109
)
Hack around extracts that aren't easy to process.
author
Eric Christopher
<echristo@apple.com>
Wed, 21 Jul 2010 22:07:19 +0000
(22:07 +0000)
committer
Eric Christopher
<echristo@apple.com>
Wed, 21 Jul 2010 22:07:19 +0000
(22:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109043
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/FastISelEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/FastISelEmitter.cpp
b/utils/TableGen/FastISelEmitter.cpp
index
08fc139
..
14d6021
100644
(file)
--- a/
utils/TableGen/FastISelEmitter.cpp
+++ b/
utils/TableGen/FastISelEmitter.cpp
@@
-287,6
+287,10
@@
void FastISelMap::CollectPatterns(CodeGenDAGPatterns &CGP) {
if (!DstRC)
continue;
} else {
+ // If this isn't a leaf, then continue since the register classes are
+ // a bit too complicated for now.
+ if (!Dst->getChild(1)->isLeaf()) continue;
+
DefInit *SR = dynamic_cast<DefInit*>(Dst->getChild(1)->getLeafValue());
if (SR)
SubRegNo = getQualifiedName(SR->getDef());