Fixed a test in r209670
[oota-llvm.git] / test / Transforms / SeparateConstOffsetFromGEP / NVPTX / split-gep.ll
index 42136d2b657e4d2e257718f300fdfc8f2706a6a4..2e50f5fd0cb1b30cb271cf9517eee7b5b3617e35 100644 (file)
@@ -73,8 +73,7 @@ entry:
 }
 ; CHECK-LABEL: @ext_or
 ; CHECK: [[BASE_PTR:%[0-9]+]] = getelementptr [32 x [32 x float]]* @float_2d_array, i64 0, i64 %{{[0-9]+}}, i64 %{{[0-9]+}}
-; CHECK: [[BASE_INT:%[0-9]+]] = ptrtoint float* [[BASE_PTR]] to i64
-; CHECK: add i64 [[BASE_INT]], 136
+; CHECK: getelementptr float* [[BASE_PTR]], i64 34
 
 ; We should treat "or" with no common bits (%k) as "add", and leave "or" with
 ; potentially common bits (%l) as is.