Fix broken check for InstAlias argument used with different types.

llvm-svn: 123932
This commit is contained in:
Bob Wilson 2011-01-20 18:38:05 +00:00
parent f3f2835b01
commit 81aafcc374
1 changed files with 1 additions and 0 deletions

View File

@ -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),