Dan Gohman | bcda285 | 2008-04-16 01:32:32 +0000 | [diff] [blame^] | 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 |