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 | 81aafcc374edc3d9f5764e7004e8dd682aaec7f4 (patch) | |
| tree | 795c7786a8437f74539df535b73eff8b6f5496a0 /llvm | |
| parent | f3f2835b011094bcbf73709b82ba4fa7f51873ea (diff) | |
| download | bcm5719-llvm-81aafcc374edc3d9f5764e7004e8dd682aaec7f4.tar.gz bcm5719-llvm-81aafcc374edc3d9f5764e7004e8dd682aaec7f4.zip | |
Fix broken check for InstAlias argument used with different types.
llvm-svn: 123932
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/utils/TableGen/CodeGenInstruction.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/CodeGenInstruction.cpp b/llvm/utils/TableGen/CodeGenInstruction.cpp index 6b1fc6ed1a6..59270412438 100644 --- a/llvm/utils/TableGen/CodeGenInstruction.cpp +++ b/llvm/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), |

