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:
0dd7fb2
)
Clean up.
author
Evan Cheng
<evan.cheng@apple.com>
Fri, 28 Jul 2006 01:19:22 +0000
(
01:19
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Fri, 28 Jul 2006 01:19:22 +0000
(
01:19
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29378
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/DAGISelEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/DAGISelEmitter.cpp
b/utils/TableGen/DAGISelEmitter.cpp
index c1d5d3a237181f07fb747efb1107a7fe745406b9..7983ad31375c4d439c32a233daaca629bb18f68d 100644
(file)
--- a/
utils/TableGen/DAGISelEmitter.cpp
+++ b/
utils/TableGen/DAGISelEmitter.cpp
@@
-2469,11
+2469,10
@@
public:
for (unsigned i = 0; i < NumRes; ++i)
emitDecl("CPTmp" + utostr(i+ResNo));
- std::string Code =
"bool Match = " +
Fn + "(" + Val;
+ std::string Code = Fn + "(" + Val;
for (unsigned i = 0; i < NumRes; i++)
Code += ", CPTmp" + utostr(i + ResNo);
- emitCode(Code + ");");
- emitCheck("Match");
+ emitCheck(Code + ")");
for (unsigned i = 0; i < NumRes; ++i) {
emitDecl("Tmp" + utostr(i+ResNo));