Add a test for the MachineCopyPropagation change landed in r238518.
[oota-llvm.git] / test / CodeGen / X86 / crash-O0.ll
index df978176bcbd59bc2ad46313f4a2e2d449c68edc..dab15c19c69ed9e349730c2f0a954e8e37ffd915 100644 (file)
@@ -45,7 +45,7 @@ entry:
 ; CHECK: retq
 define i64 @addressModeWith32bitIndex(i32 %V) {
   %gep = getelementptr i64, i64* null, i32 %V
-  %load = load i64* %gep
+  %load = load i64, i64* %gep
   %sdiv = sdiv i64 0, %load
   ret i64 %sdiv
 }