aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/Windows/vla.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ARM/Windows/vla.ll')
-rw-r--r--test/CodeGen/ARM/Windows/vla.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/ARM/Windows/vla.ll b/test/CodeGen/ARM/Windows/vla.ll
index 56901de..1c0632e 100644
--- a/test/CodeGen/ARM/Windows/vla.ll
+++ b/test/CodeGen/ARM/Windows/vla.ll
@@ -8,8 +8,8 @@
define arm_aapcs_vfpcc i8 @function(i32 %sz, i32 %idx) {
entry:
%vla = alloca i8, i32 %sz, align 1
- %arrayidx = getelementptr inbounds i8* %vla, i32 %idx
- %0 = load volatile i8* %arrayidx, align 1
+ %arrayidx = getelementptr inbounds i8, i8* %vla, i32 %idx
+ %0 = load volatile i8, i8* %arrayidx, align 1
ret i8 %0
}