fix a bug where we had an implicit assumption that the
authorChris Lattner <sabre@nondot.org>
Sat, 6 Nov 2010 08:20:59 +0000 (08:20 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 6 Nov 2010 08:20:59 +0000 (08:20 +0000)
commit5bde7345980587284bda6d42a68cdb151fbf5d6b
tree9e1d781b17992d0556189788a90f7b189e809a85
parent5e262bc94342b4ce277206cb739b98b80b8b0d2b
fix a bug where we had an implicit assumption that the
result instruction operand numbering matched the result pattern.

Fixing this allows us to move the xchg/test aliases to the .td file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118334 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/AsmParser/X86AsmParser.cpp
lib/Target/X86/X86InstrInfo.td
utils/TableGen/AsmMatcherEmitter.cpp
utils/TableGen/CodeGenInstruction.cpp
utils/TableGen/CodeGenInstruction.h