From: Jingyue Wu Date: Tue, 27 May 2014 18:12:55 +0000 (+0000) Subject: Fixed a test in r209670 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=3efc250128c86a4109a24e02f1baf7fba6e168d9;p=oota-llvm.git Fixed a test in r209670 The test was outdated with r209537. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209671 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/split-gep.ll b/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/split-gep.ll index 42136d2b657..2e50f5fd0cb 100644 --- a/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/split-gep.ll +++ b/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/split-gep.ll @@ -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.