Re-implement the main strength-reduction portion of LoopStrengthReduction.
[oota-llvm.git] / test / CodeGen / X86 / variable-sized-darwin-bzero.ll
1 ; RUN: llc < %s -march=x86 -mtriple=i686-apple-darwin10 | grep __bzero
2
3 declare void @llvm.memset.i64(i8*, i8, i64, i32)
4
5 define void @foo(i8* %p, i64 %n) {
6   call void @llvm.memset.i64(i8* %p, i8 0, i64 %n, i32 4)
7   ret void
8 }