aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/XCore/2009-01-08-Crash.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/XCore/2009-01-08-Crash.ll')
-rw-r--r--test/CodeGen/XCore/2009-01-08-Crash.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/XCore/2009-01-08-Crash.ll b/test/CodeGen/XCore/2009-01-08-Crash.ll
index a31ea1e..5eddbc3 100644
--- a/test/CodeGen/XCore/2009-01-08-Crash.ll
+++ b/test/CodeGen/XCore/2009-01-08-Crash.ll
@@ -6,7 +6,7 @@
define i32 @test(i32 %bar) nounwind readnone {
entry:
%bar_addr = alloca i32
- %0 = getelementptr i32* %bar_addr, i32 -1
- %1 = load i32* %0, align 4
+ %0 = getelementptr i32, i32* %bar_addr, i32 -1
+ %1 = load i32, i32* %0, align 4
ret i32 %1
}