add support for multiple return values in inline asm. This is a step
authorChris Lattner <sabre@nondot.org>
Tue, 29 Apr 2008 04:29:54 +0000 (04:29 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 29 Apr 2008 04:29:54 +0000 (04:29 +0000)
commit41f6259a4b54d2dc58a4040e942b37f00d306b7b
treebdda8e963a0d8a01957507c16d9848e45c014bca
parent8509fcf8ebc6435d1b8081de62f93b29d707b341
add support for multiple return values in inline asm. This is a step
towards PR2094.  It now compiles the attached .ll file to:

_sad16_sse2:
movslq %ecx, %rax
## InlineAsm Start
%ecx %rdx %rax %rax %r8d %rdx %rsi
## InlineAsm End
## InlineAsm Start
set %eax
## InlineAsm End
ret

which is pretty decent for a 3 output, 4 input asm.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50386 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
test/CodeGen/X86/inline-asm-mrv.ll [new file with mode: 0644]