aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/crash-O0.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/crash-O0.ll')
-rw-r--r--test/CodeGen/X86/crash-O0.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/crash-O0.ll b/test/CodeGen/X86/crash-O0.ll
index df8eaaf..dab15c1 100644
--- a/test/CodeGen/X86/crash-O0.ll
+++ b/test/CodeGen/X86/crash-O0.ll
@@ -44,8 +44,8 @@ entry:
; CHECK-NEXT: idivq
; CHECK: retq
define i64 @addressModeWith32bitIndex(i32 %V) {
- %gep = getelementptr i64* null, i32 %V
- %load = load i64* %gep
+ %gep = getelementptr i64, i64* null, i32 %V
+ %load = load i64, i64* %gep
%sdiv = sdiv i64 0, %load
ret i64 %sdiv
}