Change -arm-divmod-libcall to a target neutral option.
[oota-llvm.git] / test / CodeGen / CBackend / 2008-05-21-MRV-InlineAsm.ll
1 ; RUN: llc < %s -march=c
2
3 declare {i32, i32} @foo()
4
5 define i32 @test() {
6   %A = call {i32, i32} @foo()
7   %B = getresult {i32, i32} %A, 0
8   %C = getresult {i32, i32} %A, 1
9   %D = add i32 %B, %C
10   ret i32 %D
11 }
12
13 define i32 @test2() {
14   %A = call {i32, i32} asm sideeffect "...", "={cx},={di},~{dirflag},~{fpsr},~{flags},~{memory}"()
15   %B = getresult {i32, i32} %A, 0
16   %C = getresult {i32, i32} %A, 1
17   %D = add i32 %B, %C
18   ret i32 %D
19 }