Re-implement the main strength-reduction portion of LoopStrengthReduction.
[oota-llvm.git] / test / CodeGen / X86 / fold-call.ll
1 ; RUN: llc < %s -march=x86 | not grep mov
2 ; RUN: llc < %s -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 }