Fixed a test in r209670
authorJingyue Wu <jingyue@google.com>
Tue, 27 May 2014 18:12:55 +0000 (18:12 +0000)
committerJingyue Wu <jingyue@google.com>
Tue, 27 May 2014 18:12:55 +0000 (18:12 +0000)
The test was outdated with r209537.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209671 91177308-0d34-0410-b5e6-96231b3b80d8

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.