Reapply r57699 with a fix to not crash on asms with multiple results. Unlike
authorChris Lattner <sabre@nondot.org>
Sat, 18 Oct 2008 18:49:30 +0000 (18:49 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 18 Oct 2008 18:49:30 +0000 (18:49 +0000)
commit2a0b96c2c74ca23460d51ac6531c5d3f0b75d076
tree324329edff0475180e9b96eaf848c222f7e55f88
parent668aff66232d17731153c5af1cc45aa4d351f00b
Reapply r57699 with a fix to not crash on asms with multiple results.  Unlike
the previous patch this one actually passes make check.

"Fix PR2356 on PowerPC: if we have an input and output that are tied together
that have different sizes (e.g. i32 and i64) make sure to reserve registers for
the bigger operand."

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57771 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
test/CodeGen/PowerPC/2008-10-17-AsmMatchingOperands.ll [new file with mode: 0644]