Fix PR2356 on PowerPC: if we have an input and output that are tied together
authorChris Lattner <sabre@nondot.org>
Fri, 17 Oct 2008 17:52:49 +0000 (17:52 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 17 Oct 2008 17:52:49 +0000 (17:52 +0000)
commit0c52644cd8e46ca4c9caa6c51d43f97a2de8c5f5
tree27725ec250eaa952b3fcb99f4726f29d9989bd5b
parent0f046c3c99eb899f305a83ab379bf4115de96d15
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@57699 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
test/CodeGen/PowerPC/2008-10-17-AsmMatchingOperands.ll [new file with mode: 0644]