ninja: Entering directory `out/gn' [0/1] ACTION //llvm/test:check-llvm(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /Users/thakis/src/llvm-project/out/gn/bin/lld-link llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld64.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /Users/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 57475 tests, 8 workers -- Testing: FAIL: LLVM :: Transforms/OpenMP/spmdization_guarding.ll (1 of 57475) ******************** TEST 'LLVM :: Transforms/OpenMP/spmdization_guarding.ll' FAILED ******************** Exit Code: 1 Command Output (stderr): -- /Users/thakis/src/llvm-project/out/gn/bin/opt -S -passes=openmp-opt < /Users/thakis/src/llvm-project/llvm/test/Transforms/OpenMP/spmdization_guarding.ll | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/llvm/test/Transforms/OpenMP/spmdization_guarding.ll # RUN: at line 2 + /Users/thakis/src/llvm-project/out/gn/bin/opt -S -passes=openmp-opt + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/llvm/test/Transforms/OpenMP/spmdization_guarding.ll /Users/thakis/src/llvm-project/llvm/test/Transforms/OpenMP/spmdization_guarding.ll:88:15: error: CHECK-NEXT: expected string not found in input ; CHECK-NEXT: store i32 1, ptr [[ARRAYIDX1_I]], align 4, !noalias [[META7]] ^ :44:43: note: scanning from here store i32 0, ptr %x, align 4, !noalias !7 ^ :44:43: note: with "ARRAYIDX1_I" equal to "%arrayidx1\\.i" store i32 0, ptr %x, align 4, !noalias !7 ^ :44:43: note: with "META7" equal to "!7" store i32 0, ptr %x, align 4, !noalias !7 ^ :46:23: note: possible intended match here store i32 1, ptr addrspace(1) %4, align 4, !noalias !7 ^ /Users/thakis/src/llvm-project/llvm/test/Transforms/OpenMP/spmdization_guarding.ll:432:24: error: undefined variable: ATTR9 ; CHECK: attributes #[[ATTR9]] = { nounwind willreturn "llvm.assume"="omp_no_openmp,ompx_spmd_amenable" } ^ :232:1: note: possible intended match here attributes #9 = { nounwind willreturn "llvm.assume"="omp_no_openmp,ompx_spmd_amenable" } ^ Input file: Check file: /Users/thakis/src/llvm-project/llvm/test/Transforms/OpenMP/spmdization_guarding.ll -dump-input=help explains the following input dump. Input was: <<<<<< . . . 39: %2 = call i32 @__kmpc_get_hardware_thread_id_in_block() 40: %3 = icmp eq i32 %2, 0 41: br i1 %3, label %region.guarded, label %region.barrier 42: 43: region.guarded: ; preds = %region.check.tid 44: store i32 0, ptr %x, align 4, !noalias !7 next:88'0 X error: no match found next:88'1 with "ARRAYIDX1_I" equal to "%arrayidx1\\.i" next:88'2 with "META7" equal to "!7" 45: %4 = addrspacecast ptr %arrayidx1.i to ptr addrspace(1) next:88'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 46: store i32 1, ptr addrspace(1) %4, align 4, !noalias !7 next:88'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next:88'3 ? possible intended match 47: %5 = addrspacecast ptr %arrayidx2.i to ptr addrspace(1) next:88'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 48: store i32 %N.addr.sroa.0.0.extract.trunc, ptr addrspace(1) %5, align 4, !noalias !7 next:88'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 49: br label %region.guarded.end next:88'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 50: next:88'0 ~ 51: region.guarded.end: ; preds = %region.guarded next:88'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . 226: attributes #3 = { convergent nounwind willreturn memory(read) "frame-pointer"="all" "llvm.assume"="ompx_spmd_amenable" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="sm_53" "target-features"="+ptx32,+sm_53" } 227: attributes #4 = { nosync nounwind allocsize(0) } 228: attributes #5 = { nosync nounwind } 229: attributes #6 = { nounwind } 230: attributes #7 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } 231: attributes #8 = { convergent nounwind } check:432'0 X error: match failed for invalid pattern check:432'1 undefined variable: ATTR9 232: attributes #9 = { nounwind willreturn "llvm.assume"="omp_no_openmp,ompx_spmd_amenable" } check:432'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:432'2 ? possible intended match 233: attributes #10 = { convergent nounwind "llvm.assume"="omp_no_openmp,ompx_spmd_amenable" } check:432'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234: check:432'0 ~ 235: !omp_offload.info = !{!0} check:432'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~ 236: !llvm.module.flags = !{!1, !2, !3, !4, !5} check:432'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 237: !llvm.ident = !{!6} check:432'0 ~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (1): LLVM :: Transforms/OpenMP/spmdization_guarding.ll Testing Time: 639.25s Total Discovered Tests: 65843 Skipped : 32 (0.05%) Unsupported : 2490 (3.78%) Passed : 63148 (95.91%) Expectedly Failed: 172 (0.26%) Failed : 1 (0.00%) FAILED: gen/llvm/test/run-lit python3 bin/llvm-lit -sv ../../llvm/test ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn', 'check-llvm']' returned non-zero exit status 1.