ninja: Entering directory `out/gn' [0/1] ACTION //llvm/test:check-llvm(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/ld.lld llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/lld-link llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/ld64.lld llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 60750 tests, 64 workers -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80. FAIL: LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll (24861 of 60750) ******************** TEST 'LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll' FAILED ******************** Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S < /usr/local/google/home/thakis/src/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll | /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll # RUN: at line 2 + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll /usr/local/google/home/thakis/src/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll:113:15: error: CHECK-NEXT: expected string not found in input ; CHECK-NEXT: [[IV:%.*]] = phi i64 [ [[BC_RESUME_VAL]], [[SCALAR_PH]] ], [ [[IV_NEXT:%.*]], [[FOR_BODY]] ] ^ :103:10: note: scanning from here for.body: ; preds = %scalar.ph, %for.body ^ :103:10: note: with "BC_RESUME_VAL" equal to "%bc.resume.val" for.body: ; preds = %scalar.ph, %for.body ^ :103:10: note: with "SCALAR_PH" equal to "%scalar.ph" for.body: ; preds = %scalar.ph, %for.body ^ :103:10: note: with "FOR_BODY" equal to "%for.body" for.body: ; preds = %scalar.ph, %for.body ^ :104:2: note: possible intended match here %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ] ^ Input file: Check file: /usr/local/google/home/thakis/src/llvm-project/llvm/test/Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll -dump-input=help explains the following input dump. Input was: <<<<<< . . . 98: scalar.ph: ; preds = %entry 99: %bc.resume.val = phi i64 [ 0, %entry ] 100: %bc.resume.val1 = phi ptr [ %b, %entry ] 101: br label %for.body 102: 103: for.body: ; preds = %scalar.ph, %for.body next:113'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found next:113'1 with "BC_RESUME_VAL" equal to "%bc.resume.val" next:113'2 with "SCALAR_PH" equal to "%scalar.ph" next:113'3 with "FOR_BODY" equal to "%for.body" 104: %iv = phi i64 [ 0, %scalar.ph ], [ %iv.next, %for.body ] next:113'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next:113'4 ? possible intended match 105: %addr = phi ptr [ %incdec.ptr, %for.body ], [ %b, %scalar.ph ] next:113'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 106: %incdec.ptr = getelementptr inbounds i8, ptr %addr, i64 8 next:113'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 107: %arrayidx = getelementptr inbounds i64, ptr %a, i64 %iv next:113'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 108: store ptr %addr, ptr %arrayidx, align 8 next:113'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 109: %iv.next = add nuw nsw i64 %iv, 1 next:113'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (1): LLVM :: Transforms/LoopVectorize/RISCV/evl-compatible-loops.ll Testing Time: 149.29s Total Discovered Tests: 68055 Skipped : 16 (0.02%) Unsupported : 2392 (3.51%) Passed : 65475 (96.21%) Expectedly Failed: 171 (0.25%) 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.