[llvm] r209671 - Fixed a test in r209670
Jingyue Wu
jingyue at google.com
Tue May 27 11:12:55 PDT 2014
Author: jingyue
Date: Tue May 27 13:12:55 2014
New Revision: 209671
URL: http://llvm.org/viewvc/llvm-project?rev=209671&view=rev
Log:
Fixed a test in r209670
The test was outdated with r209537.
Modified:
llvm/trunk/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/split-gep.ll
Modified: llvm/trunk/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/split-gep.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/split-gep.ll?rev=209671&r1=209670&r2=209671&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/split-gep.ll (original)
+++ llvm/trunk/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/split-gep.ll Tue May 27 13:12:55 2014
@@ -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.
More information about the llvm-commits
mailing list