blob: 9043b494ea6bac4c4b2e0b04293197ed890e4afd [file] [log] [blame]
Chris Lattner3f970fd2006-01-25 23:49:54 +00001; RUN: llvm-as %s -o /dev/null -f &&
2; RUN: llvm-as %s -o - | 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}