davezarzycki added a comment. Hello, I have a twice-daily auto-bisecting multi-stage cron job running on Fedora 32 (x86-64) that has identified this commit as failing my first stage test (release + no asserts). Is this expected? Can we get a quick fix or revert this?
FAIL: Clang :: OpenMP/irbuilder_nested_parallel_for.c (13233 of 67864) - TEST 'Clang :: OpenMP/irbuilder_nested_parallel_for.c' FAILED ******************** Script: ------- : 'RUN: at line 2'; /tmp/_update_lc/r/bin/clang -cc1 -internal-isystem /tmp/_update_lc/r/lib/clang/12.0.0/include -nostdsysteminc -verify -fopenmp -fopenmp-enable-irbuilder -x c++ -emit-llvm /home/dave/ro_s/lp/clang/test/OpenMP/irbuilder_nested_parallel_for.c -triple x86_64-unknown-unknown -fexceptions -fcxx-exceptions -o - | /tmp/_update_lc/r/bin/FileCheck --check-prefixes=CHECK /home/dave/ro_s/lp/clang/test/OpenMP/irbuilder_nested_parallel_for.c : 'RUN: at line 3'; /tmp/_update_lc/r/bin/clang -cc1 -internal-isystem /tmp/_update_lc/r/lib/clang/12.0.0/include -nostdsysteminc -fopenmp -fopenmp-enable-irbuilder -x c++ -triple x86_64-unknown-unknown -fexceptions -fcxx-exceptions -debug-info-kind=limited -std=c++11 -verify /home/dave/ro_s/lp/clang/test/OpenMP/irbuilder_nested_parallel_for.c -emit-llvm -o - | /tmp/_update_lc/r/bin/FileCheck --check-prefixes=CHECK-DEBUG /home/dave/ro_s/lp/clang/test/OpenMP/irbuilder_nested_parallel_for.c --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Exit Code: 1 Command Output (stderr): ------------------------ /home/dave/ro_s/lp/clang/test/OpenMP/irbuilder_nested_parallel_for.c:74:22: error: CHECK-DEBUG-NEXT: is not on the line after the previous match // CHECK-DEBUG-NEXT: [[OMP_GLOBAL_THREAD_NUM:%.*]] = call i32 @__kmpc_global_thread_num(%struct.ident_t* @12), !dbg !{{[0-9]*}} ^ <stdin>:252:2: note: 'next' match was here %omp_global_thread_num1 = call i32 @__kmpc_global_thread_num(%struct.ident_t* @12), !dbg !52 ^ <stdin>:224:105: note: previous match ended here call void @llvm.dbg.declare(metadata double* %b.addr, metadata !45, metadata !DIExpression()), !dbg !46 ^ <stdin>:225:1: note: non-matching line after previous match is here %omp_global_thread_num = call i32 @__kmpc_global_thread_num(%struct.ident_t* @10), !dbg !47 ^ /home/dave/ro_s/lp/clang/test/OpenMP/irbuilder_nested_parallel_for.c:192:22: error: CHECK-DEBUG-NEXT: expected string not found in input // CHECK-DEBUG-NEXT: [[OMP_GLOBAL_THREAD_NUM:%.*]] = call i32 @__kmpc_global_thread_num(%struct.ident_t* @25), !dbg !{{[0-9]*}} ^ <stdin>:381:2: note: scanning from here %omp_global_thread_num = call i32 @__kmpc_global_thread_num(%struct.ident_t* @21), !dbg !83 ^ <stdin>:381:19: note: possible intended match here %omp_global_thread_num = call i32 @__kmpc_global_thread_num(%struct.ident_t* @21), !dbg !83 ^ Input file: <stdin> Check file: /home/dave/ro_s/lp/clang/test/OpenMP/irbuilder_nested_parallel_for.c -dump-input=help explains the following input dump. Input was: <<<<<< . . . 247: 248: omp.par.outlined.exit19.exitStub: ; preds = %omp.par.pre_finalize 249: ret void 250: 251: omp.par.region: ; preds = %omp.par.entry 252: %omp_global_thread_num1 = call i32 @__kmpc_global_thread_num(%struct.ident_t* @12), !dbg !52 next:74 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line 253: br label %omp_parallel 254: 255: omp_parallel: ; preds = %omp.par.region 256: call void (%struct.ident_t*, i32, void (i32*, i32*, ...)*, ...) @__kmpc_fork_call(%struct.ident_t* @12, i32 3, void (i32*, i32*, ...)* bitcast (void (i32*, i32*, i32*, double*, float**)* @_Z14parallel_for_1Pfid..omp_par to void (i32*, i32*, ...)*), i32* %a.addr, double* %b.addr, float** %r.addr), !dbg !53 257: br label %omp.par.outlined.exit . . . 376: call void @llvm.dbg.declare(metadata float** %r.addr, metadata !77, metadata !DIExpression()), !dbg !78 377: store i32 %a, i32* %a.addr, align 4 378: call void @llvm.dbg.declare(metadata i32* %a.addr, metadata !79, metadata !DIExpression()), !dbg !80 379: store double %b, double* %b.addr, align 8 380: call void @llvm.dbg.declare(metadata double* %b.addr, metadata !81, metadata !DIExpression()), !dbg !82 381: %omp_global_thread_num = call i32 @__kmpc_global_thread_num(%struct.ident_t* @21), !dbg !83 next:192'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found next:192'1 ? possible intended match 382: br label %omp_parallel next:192'0 ~~~~~~~~~~~~~~~~~~~~~~~ 383: next:192'0 ~ 384: omp_parallel: ; preds = %entry next:192'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 385: call void (%struct.ident_t*, i32, void (i32*, i32*, ...)*, ...) @__kmpc_fork_call(%struct.ident_t* @21, i32 3, void (i32*, i32*, ...)* bitcast (void (i32*, i32*, i32*, double*, float**)* @_Z14parallel_for_2Pfid..omp_par.4 to void (i32*, i32*, ...)*), i32* %a.addr, double* %b.addr, float** %r.addr), !dbg !84 next:192'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 386: br label %omp.par.outlined.exit211 next:192'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> - ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (1): Clang :: OpenMP/irbuilder_nested_parallel_for.c Testing Time: 124.68s Unsupported : 10711 Passed : 57049 Expectedly Failed: 103 Failed : 1 Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D82822/new/ https://reviews.llvm.org/D82822 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits