aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/indirect-reg-input.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ARM/indirect-reg-input.ll')
-rw-r--r--test/CodeGen/ARM/indirect-reg-input.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/ARM/indirect-reg-input.ll b/test/CodeGen/ARM/indirect-reg-input.ll
index 17f6a9c..e82e1de 100644
--- a/test/CodeGen/ARM/indirect-reg-input.ll
+++ b/test/CodeGen/ARM/indirect-reg-input.ll
@@ -8,7 +8,7 @@
define void @switch_to_stack(%struct.my_stack* %stack) nounwind {
entry:
- %regs = getelementptr inbounds %struct.my_stack* %stack, i32 0, i32 0
+ %regs = getelementptr inbounds %struct.my_stack, %struct.my_stack* %stack, i32 0, i32 0
tail call void asm "\0A", "=*r,*0"(%struct.myjmp_buf* %regs, %struct.myjmp_buf* %regs)
ret void
}