Recreate the size SDNode instead of reusing the old one in the x86
[oota-llvm.git] / test / CodeGen / X86 / memset64-on-x86-32.ll
1 ; RUN: llvm-as < %s | llc -march=x86 | grep stosb
2
3 target triple = "i386-apple-darwin9"
4         %struct.S = type { [80 x i8] }
5
6 define %struct.S* @bork() {
7 entry:
8         call void @llvm.memset.i64( i8* null, i8 0, i64 80, i32 1 )
9         ret %struct.S* null
10 }
11
12 declare void @llvm.memset.i64(i8*, i8, i64, i32) nounwind
13