diff options
author | Bob Wilson <bob.wilson@apple.com> | 2011-01-20 18:38:05 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2011-01-20 18:38:05 +0000 |
commit | 47c90a70bafafeb8c9d27d3528f69bed57ea028e (patch) | |
tree | 6c888ffb24eab53c6276825337881c064eb688a2 /utils/TableGen/CodeGenInstruction.cpp | |
parent | 5e8f2a65ca2044815039129610876dfc4de3ebfa (diff) |
Fix broken check for InstAlias argument used with different types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123932 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenInstruction.cpp')
-rw-r--r-- | utils/TableGen/CodeGenInstruction.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/TableGen/CodeGenInstruction.cpp b/utils/TableGen/CodeGenInstruction.cpp index 6b1fc6ed1a..5927041243 100644 --- 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), |