Fix broken check for InstAlias argument used with different types.
llvm-svn: 123932
This commit is contained in:
parent
f3f2835b01
commit
81aafcc374
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue