diff options
author | Chris Lattner <sabre@nondot.org> | 2010-02-17 00:31:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-02-17 00:31:50 +0000 |
commit | e609a513f3c072bba28412c681465332a2822d9a (patch) | |
tree | d3e4bb34b61b2a87e23001c2a1740d6816900f43 /utils/TableGen/DAGISelEmitter.cpp | |
parent | 9abe19d0b9b36dc42d5ae94f7ef236f126da55c4 (diff) | |
download | llvm-e609a513f3c072bba28412c681465332a2822d9a.tar.gz llvm-e609a513f3c072bba28412c681465332a2822d9a.tar.bz2 llvm-e609a513f3c072bba28412c681465332a2822d9a.tar.xz |
make the new isel generator plop out a CheckComplexPattern function
for evaluating complex patterns. Some cleanup has to happen before
this can be used though.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96419 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/DAGISelEmitter.cpp')
-rw-r--r-- | utils/TableGen/DAGISelEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/DAGISelEmitter.cpp b/utils/TableGen/DAGISelEmitter.cpp index a62905e9ec..cba2fc6f26 100644 --- a/utils/TableGen/DAGISelEmitter.cpp +++ b/utils/TableGen/DAGISelEmitter.cpp @@ -697,7 +697,7 @@ void PatternCodeEmitter::EmitMatchCode(TreePatternNode *N, TreePatternNode *P, Code += ", CPTmp" + RootName + "_" + utostr(i); if (CP->hasProperty(SDNPHasChain)) { ChainName = "Chain" + ChainSuffix; - Code += ", CPInChain, Chain" + ChainSuffix; + Code += ", CPInChain, " + ChainName; } emitCheck(Code + ")"); } |