summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJingyue Wu <jingyue@google.com>2014-05-27 18:12:55 +0000
committerJingyue Wu <jingyue@google.com>2014-05-27 18:12:55 +0000
commit76cbea6b6d6ebce41999696a705d2e9ae62a7498 (patch)
tree956a5968710baf9e9851b53bd8e8aa444bc741c3
parent80a738dc621e59d96ca7ffe11754afde700156f9 (diff)
downloadbcm5719-llvm-76cbea6b6d6ebce41999696a705d2e9ae62a7498.tar.gz
bcm5719-llvm-76cbea6b6d6ebce41999696a705d2e9ae62a7498.zip
Fixed a test in r209670
The test was outdated with r209537. llvm-svn: 209671
-rw-r--r--llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/split-gep.ll3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/split-gep.ll b/llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/split-gep.ll
index 42136d2b657..2e50f5fd0cb 100644
--- a/llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/split-gep.ll
+++ b/llvm/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.
OpenPOWER on IntegriCloud