Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 1 | ; RUN: llvm-upgrade %s -o - | llvm-as -o /dev/null -f |
Duncan Sands | a524e0e | 2007-07-23 15:23:35 +0000 | [diff] [blame^] | 2 | ; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > t1.ll |
| 3 | ; RUN: llvm-as t1.ll -o - | llvm-dis > t2.ll |
| 4 | ; RUN: diff t1.ll t2.ll |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 5 | |
| 6 | |
| 7 | module asm "this is an inline asm block" |
| 8 | module asm "this is another inline asm block" |
| 9 | |
| 10 | int %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 | } |