aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/memset-3.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/memset-3.ll')
-rw-r--r--test/CodeGen/X86/memset-3.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/memset-3.ll b/test/CodeGen/X86/memset-3.ll
index 29febfa..455e675 100644
--- a/test/CodeGen/X86/memset-3.ll
+++ b/test/CodeGen/X86/memset-3.ll
@@ -4,7 +4,7 @@
define void @t() nounwind ssp {
entry:
%buf = alloca [512 x i8], align 1
- %ptr = getelementptr inbounds [512 x i8]* %buf, i32 0, i32 0
+ %ptr = getelementptr inbounds [512 x i8], [512 x i8]* %buf, i32 0, i32 0
call void @llvm.memset.p0i8.i32(i8* %ptr, i8 undef, i32 512, i32 1, i1 false)
unreachable
}