]> granicus.if.org Git - clang/commitdiff
[OpenMP] Remove fixme comment in regression test and related unnecessary statement
authorCarlo Bertolli <cbertol@us.ibm.com>
Mon, 6 Feb 2017 16:03:41 +0000 (16:03 +0000)
committerCarlo Bertolli <cbertol@us.ibm.com>
Mon, 6 Feb 2017 16:03:41 +0000 (16:03 +0000)
https://reviews.llvm.org/D29501

It looks like I forgot to remove a FIXME comment with the associated statement. The test does not need it and it gives the wrong impression of being an incomplete test.

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

test/OpenMP/distribute_lastprivate_codegen.cpp

index 0f596defbfe9f297d1cec29c75ce28e90441fd34..abcbfd8d69c433f7ecedf90dea1fe68b32f5ffb6 100644 (file)
@@ -229,8 +229,6 @@ int main() {
 // the distribute loop
 // CHECK: call void @__kmpc_for_static_init_4(
 // assignment: vec[i] = t_var;
-// the following is extremely weak, because it assumes ordering of this load with no reference after the call to static_init: fix!!!!
-// CHECK: [[IV_VAL:%.+]] =
 // CHECK: [[T_VAR_PRIV_VAL:%.+]] = load i{{[0-9]+}}, i{{[0-9]+}}* [[T_VAR_PRIV]],
 // CHECK: [[VEC_PTR:%.+]] = getelementptr inbounds [2 x i{{[0-9]+}}], [2 x i{{[0-9]+}}]* [[VEC_PRIV]], i{{[0-9]+}} 0, i{{[0-9]+}} {{.+}}
 // CHECK:  store i{{[0-9]+}} [[T_VAR_PRIV_VAL]], i{{[0-9]+}}* [[VEC_PTR]],