aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/variable-sized-darwin-bzero.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/variable-sized-darwin-bzero.ll')
-rw-r--r--test/CodeGen/X86/variable-sized-darwin-bzero.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/X86/variable-sized-darwin-bzero.ll b/test/CodeGen/X86/variable-sized-darwin-bzero.ll
index 4817db22c3..1e86d75bf0 100644
--- a/test/CodeGen/X86/variable-sized-darwin-bzero.ll
+++ b/test/CodeGen/X86/variable-sized-darwin-bzero.ll
@@ -1,8 +1,8 @@
; RUN: llc < %s -march=x86 -mtriple=i686-apple-darwin10 | grep __bzero
-declare void @llvm.memset.i64(i8*, i8, i64, i32)
-
define void @foo(i8* %p, i64 %n) {
- call void @llvm.memset.i64(i8* %p, i8 0, i64 %n, i32 4)
+ call void @llvm.memset.p0i8.i64(i8* %p, i8 0, i64 %n, i32 4, i1 false)
ret void
}
+
+declare void @llvm.memset.p0i8.i64(i8* nocapture, i8, i64, i32, i1) nounwind