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:
5e8f2a6
)
Fix broken check for InstAlias argument used with different types.
author
Bob Wilson
<bob.wilson@apple.com>
Thu, 20 Jan 2011 18:38:05 +0000
(18:38 +0000)
committer
Bob Wilson
<bob.wilson@apple.com>
Thu, 20 Jan 2011 18:38:05 +0000
(18:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123932
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/CodeGenInstruction.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/CodeGenInstruction.cpp
b/utils/TableGen/CodeGenInstruction.cpp
index 6b1fc6ed1a68d4e9e4ca3544f2d73f6a92d514ad..59270412438e5676b37b94235e5ae351e83d02f9 100644
(file)
--- a/
utils/TableGen/CodeGenInstruction.cpp
+++ b/
utils/TableGen/CodeGenInstruction.cpp
@@
-483,6
+483,7
@@
CodeGenInstAlias::CodeGenInstAlias(Record *R, CodeGenTarget &T) : TheDef(R) {
Result->getArgName(AliasOpNo) +
" is both " + Entry->getName() + " and " +
ADI->getDef()->getName() + "!");
+ Entry = ADI->getDef();
// Now that it is validated, add it.
ResultOperands.push_back(ResultOperand(Result->getArgName(AliasOpNo),