ninja: Entering directory `out/gn' [0/2] 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:506: 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:506: 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:506: 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:506: note: using wasm-ld: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 57127 tests, 64 workers -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: LLVM :: CodeGen/RISCV/memset-pattern.ll (57127 of 57127) ******************** TEST 'LLVM :: CodeGen/RISCV/memset-pattern.ll' FAILED ******************** Exit Code: 1 Command Output (stderr): -- RUN: at line 2: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/llc < /usr/local/google/home/thakis/src/llvm-project/llvm/test/CodeGen/RISCV/memset-pattern.ll -mtriple=riscv32 -mattr=+m | /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/llvm/test/CodeGen/RISCV/memset-pattern.ll --check-prefixes=RV32-BOTH,RV32 + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/llc -mtriple=riscv32 -mattr=+m + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/llvm/test/CodeGen/RISCV/memset-pattern.ll --check-prefixes=RV32-BOTH,RV32 /usr/local/google/home/thakis/src/llvm-project/llvm/test/CodeGen/RISCV/memset-pattern.ll:17:19: error: RV32-BOTH-NEXT: expected string not found in input ; RV32-BOTH-NEXT: lw a2, 0(a1) ^ :9:36: note: scanning from here # %bb.0: # %loadstoreloop.preheader ^ :11:2: note: possible intended match here lw a3, 0(a1) ^ /usr/local/google/home/thakis/src/llvm-project/llvm/test/CodeGen/RISCV/memset-pattern.ll:85:14: error: RV32-NEXT: is not on the line after the previous match ; RV32-NEXT: add s4, a0, s4 ^ :68:2: note: 'next' match was here add s4, a0, s4 ^ :66:16: note: previous match ended here slli s4, a2, 4 ^ :67:1: note: non-matching line after previous match is here addi a2, a2, 1 ^ /usr/local/google/home/thakis/src/llvm-project/llvm/test/CodeGen/RISCV/memset-pattern.ll:207:19: error: RV32-BOTH-NEXT: expected string not found in input ; RV32-BOTH-NEXT: lw a2, 0(a1) ^ :105:36: note: scanning from here # %bb.0: # %loadstoreloop.preheader ^ :107:2: note: possible intended match here lw a3, 0(a1) ^ /usr/local/google/home/thakis/src/llvm-project/llvm/test/CodeGen/RISCV/memset-pattern.ll:252:19: error: RV32-BOTH-NEXT: expected string not found in input ; RV32-BOTH-NEXT: lw a4, 0(a1) ^ :139:36: note: scanning from here # %bb.1: # %loadstoreloop.preheader ^ :141:2: note: possible intended match here lw a5, 0(a1) ^ Input file: Check file: /usr/local/google/home/thakis/src/llvm-project/llvm/test/CodeGen/RISCV/memset-pattern.ll -dump-input=help explains the following input dump. Input was: <<<<<< 1: .text 2: .attribute 4, 16 3: .attribute 5, "rv32i2p1_m2p0_zmmul1p0" 4: .file "" 5: .globl memset_1 # -- Begin function memset_1 6: .p2align 2 7: .type memset_1,@function 8: memset_1: # @memset_1 9: # %bb.0: # %loadstoreloop.preheader next:17'0 X error: no match found 10: li a2, 0 next:17'0 ~~~~~~~~~~ 11: lw a3, 0(a1) next:17'0 ~~~~~~~~~~~~~~ next:17'1 ? possible intended match 12: lw a4, 4(a1) next:17'0 ~~~~~~~~~~~~~~ 13: lw a5, 8(a1) next:17'0 ~~~~~~~~~~~~~~ 14: lw a1, 12(a1) next:17'0 ~~~~~~~~~~~~~~~ 15: li a6, 0 next:17'0 ~~~~~~~~~~ 16: .LBB0_1: # %loadstoreloop next:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . 63: srli s3, a1, 8 64: .LBB1_1: # %loadstoreloop 65: # =>This Inner Loop Header: Depth=1 66: slli s4, a2, 4 67: addi a2, a2, 1 68: add s4, a0, s4 next:85 !~~~~~~~~~~~~~ error: match on wrong line 69: seqz s5, a2 70: sb a4, 4(s4) 71: sb t1, 5(s4) 72: sb t0, 6(s4) 73: sb a7, 7(s4) . . . 100: # -- End function 101: .globl memset_4 # -- Begin function memset_4 102: .p2align 2 103: .type memset_4,@function 104: memset_4: # @memset_4 105: # %bb.0: # %loadstoreloop.preheader next:207'0 X error: no match found 106: li a2, 0 next:207'0 ~~~~~~~~~~ 107: lw a3, 0(a1) next:207'0 ~~~~~~~~~~~~~~ next:207'1 ? possible intended match 108: lw a4, 4(a1) next:207'0 ~~~~~~~~~~~~~~ 109: lw a5, 8(a1) next:207'0 ~~~~~~~~~~~~~~ 110: lw a1, 12(a1) next:207'0 ~~~~~~~~~~~~~~~ 111: li a6, 0 next:207'0 ~~~~~~~~~~ 112: .LBB2_1: # %loadstoreloop next:207'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . 134: .type memset_x,@function next:207'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~ 135: memset_x: # @memset_x next:207'0 ~~~~~~~~~ 136: # %bb.0: 137: or a4, a2, a3 138: beqz a4, .LBB3_5 139: # %bb.1: # %loadstoreloop.preheader next:252'0 X error: no match found 140: li a4, 0 next:252'0 ~~~~~~~~~~ 141: lw a5, 0(a1) next:252'0 ~~~~~~~~~~~~~~ next:252'1 ? possible intended match 142: lw a6, 4(a1) next:252'0 ~~~~~~~~~~~~~~ 143: lw a7, 8(a1) next:252'0 ~~~~~~~~~~~~~~ 144: lw a1, 12(a1) next:252'0 ~~~~~~~~~~~~~~~ 145: li t0, 0 next:252'0 ~~~~~~~~~~ 146: j .LBB3_3 next:252'0 ~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (1): LLVM :: CodeGen/RISCV/memset-pattern.ll Testing Time: 183.03s Total Discovered Tests: 62940 Skipped : 16 (0.03%) Unsupported : 1954 (3.10%) Passed : 60802 (96.60%) Expectedly Failed: 167 (0.27%) 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.