blob: c8f59f24cf4d70e5ea14daa101bc41668f74fa36 [file] [log] [blame]
Reid Spencereb1d74e2007-04-16 17:36:08 +00001; RUN: llvm-upgrade %s -o - | llvm-as -o /dev/null -f
2; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > Output/t1.ll
3; RUN: llvm-as Output/t1.ll -o - | llvm-dis > Output/t2.ll
Chris Lattnerfb90fe32006-01-23 23:24:13 +00004; RUN: diff Output/t1.ll Output/t2.ll
5
6
Chris Lattner52599e12006-01-24 00:37:20 +00007module asm "this is an inline asm block"
8module asm "this is another inline asm block"
Chris Lattnerfb90fe32006-01-23 23:24:13 +00009
Chris Lattner3f970fd2006-01-25 23:49:54 +000010int %test() {
11 %X = call int asm "tricky here $0, $1", "=r,r"(int 4)
12 call void asm sideeffect "eieio", ""()
13 ret int %X
14}