Dan Gohman | ea4faba | 2008-05-29 21:50:34 +0000 | [diff] [blame^] | 1 | ; RUN: llvm-as < %s | llc -march=x86 | not grep mov |
2 | ; RUN: llvm-as < %s | llc -march=x86-64 | not grep mov | ||||
3 | |||||
4 | declare void @bar() | ||||
5 | |||||
6 | define void @foo(i32 %i0, i32 %i1, i32 %i2, i32 %i3, i32 %i4, i32 %i5, void()* %arg) nounwind { | ||||
7 | call void @bar() | ||||
8 | call void %arg() | ||||
9 | ret void | ||||
10 | } |