[llvm-commits] [llvm] r123932 - /llvm/trunk/utils/TableGen/CodeGenInstruction.cpp
Bob Wilson
bob.wilson at apple.com
Thu Jan 20 10:38:05 PST 2011
Author: bwilson
Date: Thu Jan 20 12:38:05 2011
New Revision: 123932
URL: http://llvm.org/viewvc/llvm-project?rev=123932&view=rev
Log:
Fix broken check for InstAlias argument used with different types.
Modified:
llvm/trunk/utils/TableGen/CodeGenInstruction.cpp
Modified: llvm/trunk/utils/TableGen/CodeGenInstruction.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/CodeGenInstruction.cpp?rev=123932&r1=123931&r2=123932&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/CodeGenInstruction.cpp (original)
+++ llvm/trunk/utils/TableGen/CodeGenInstruction.cpp Thu Jan 20 12:38:05 2011
@@ -483,6 +483,7 @@
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),
More information about the llvm-commits
mailing list