forked from OSchip/llvm-project
Hack around extracts that aren't easy to process.
llvm-svn: 109043
This commit is contained in:
parent
efcc2a0cfb
commit
bebb8c5f86
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue