summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/fold-call.ll
blob: 603e9ad66caafba2f13c594da4b016a199cacc06 (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llc < %s -march=x86 | not grep mov
; RUN: llc < %s -march=x86-64 | not grep mov

declare void @bar()

define void @foo(i32 %i0, i32 %i1, i32 %i2, i32 %i3, i32 %i4, i32 %i5, void()* %arg) nounwind {
	call void @bar()
	call void %arg()
	ret void
}
OpenPOWER on IntegriCloud