summaryrefslogtreecommitdiff
path: root/utils/TableGen/DAGISelEmitter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-02-17 00:31:50 +0000
committerChris Lattner <sabre@nondot.org>2010-02-17 00:31:50 +0000
commite609a513f3c072bba28412c681465332a2822d9a (patch)
treed3e4bb34b61b2a87e23001c2a1740d6816900f43 /utils/TableGen/DAGISelEmitter.cpp
parent9abe19d0b9b36dc42d5ae94f7ef236f126da55c4 (diff)
downloadllvm-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.cpp2
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 + ")");
}