ninja: Entering directory `out/gn' [0/2] 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:512: 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:512: 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:512: 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:512: note: using wasm-ld: /Users/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 56532 tests, 8 workers -- Testing: FAIL: LLVM :: CodeGen/LoongArch/lsx/vec-trunc.ll (1 of 56532) ******************** TEST 'LLVM :: CodeGen/LoongArch/lsx/vec-trunc.ll' FAILED ******************** Exit Code: 1 Command Output (stderr): -- RUN: at line 2: /Users/thakis/src/llvm-project/out/gn/bin/llc --mtriple=loongarch64 --mattr=+lsx /Users/thakis/src/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-trunc.ll -o - | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-trunc.ll + /Users/thakis/src/llvm-project/out/gn/bin/llc --mtriple=loongarch64 --mattr=+lsx /Users/thakis/src/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-trunc.ll -o - + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-trunc.ll /Users/thakis/src/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-trunc.ll:7:15: error: CHECK-NEXT: is not on the line after the previous match ; CHECK-NEXT: vld $vr0, $a0, 0 ^ :9:2: note: 'next' match was here vld $vr0, $a0, 0 ^ :7:9: note: previous match ended here # %bb.0: ^ :8:1: note: non-matching line after previous match is here addi.d $sp, $sp, -16 ^ /Users/thakis/src/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-trunc.ll:22:15: error: CHECK-NEXT: is not on the line after the previous match ; CHECK-NEXT: vld $vr0, $a0, 0 ^ :27:2: note: 'next' match was here vld $vr0, $a0, 0 ^ :25:9: note: previous match ended here # %bb.0: ^ :26:1: note: non-matching line after previous match is here addi.d $sp, $sp, -16 ^ /Users/thakis/src/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-trunc.ll:37:15: error: CHECK-NEXT: is not on the line after the previous match ; CHECK-NEXT: vld $vr0, $a0, 0 ^ :46:2: note: 'next' match was here vld $vr0, $a0, 0 ^ :44:9: note: previous match ended here # %bb.0: ^ :45:1: note: non-matching line after previous match is here addi.d $sp, $sp, -16 ^ /Users/thakis/src/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-trunc.ll:52:15: error: CHECK-NEXT: is not on the line after the previous match ; CHECK-NEXT: vld $vr0, $a0, 0 ^ :65:2: note: 'next' match was here vld $vr0, $a0, 0 ^ :63:9: note: previous match ended here # %bb.0: ^ :64:1: note: non-matching line after previous match is here addi.d $sp, $sp, -16 ^ /Users/thakis/src/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-trunc.ll:71:15: error: CHECK-NEXT: is not on the line after the previous match ; CHECK-NEXT: vld $vr0, $a0, 0 ^ :87:2: note: 'next' match was here vld $vr0, $a0, 0 ^ :85:9: note: previous match ended here # %bb.0: ^ :86:1: note: non-matching line after previous match is here addi.d $sp, $sp, -16 ^ /Users/thakis/src/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-trunc.ll:90:15: error: CHECK-NEXT: is not on the line after the previous match ; CHECK-NEXT: vld $vr0, $a0, 0 ^ :110:2: note: 'next' match was here vld $vr0, $a0, 0 ^ :108:9: note: previous match ended here # %bb.0: ^ :109:1: note: non-matching line after previous match is here addi.d $sp, $sp, -16 ^ /Users/thakis/src/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-trunc.ll:117:15: error: CHECK-NEXT: expected string not found in input ; CHECK-NEXT: ld.w $a2, $a0, 4 ^ :138:9: note: scanning from here # %bb.0: ^ :140:2: note: possible intended match here ld.d $a0, $a0, 0 ^ /Users/thakis/src/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-trunc.ll:131:15: error: CHECK-NEXT: expected string not found in input ; CHECK-NEXT: ld.w $a2, $a0, 4 ^ :158:9: note: scanning from here # %bb.0: ^ :160:2: note: possible intended match here ld.d $a0, $a0, 0 ^ /Users/thakis/src/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-trunc.ll:145:15: error: CHECK-NEXT: expected string not found in input ; CHECK-NEXT: ld.h $a2, $a0, 6 ^ :178:9: note: scanning from here # %bb.0: ^ :180:2: note: possible intended match here ld.d $a0, $a0, 0 ^ /Users/thakis/src/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-trunc.ll:163:15: error: CHECK-NEXT: expected string not found in input ; CHECK-NEXT: ld.h $a2, $a0, 2 ^ :202:9: note: scanning from here # %bb.0: ^ :204:2: note: possible intended match here ld.w $a0, $a0, 0 ^ Input file: Check file: /Users/thakis/src/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-trunc.ll -dump-input=help explains the following input dump. Input was: <<<<<< 1: .file "vec-trunc.ll" 2: .text 3: .globl load_trunc_2i64_to_2i32 # -- Begin function load_trunc_2i64_to_2i32 4: .p2align 5 5: .type load_trunc_2i64_to_2i32,@function 6: load_trunc_2i64_to_2i32: # @load_trunc_2i64_to_2i32 7: # %bb.0: 8: addi.d $sp, $sp, -16 9: vld $vr0, $a0, 0 next:7 !~~~~~~~~~~~~~~~ error: match on wrong line 10: vpickve2gr.d $a0, $vr0, 1 11: st.w $a0, $sp, 4 12: vpickve2gr.d $a0, $vr0, 0 13: st.w $a0, $sp, 0 14: ld.d $a0, $sp, 0 . . . 22: .p2align 5 23: .type load_trunc_2i64_to_2i16,@function 24: load_trunc_2i64_to_2i16: # @load_trunc_2i64_to_2i16 25: # %bb.0: 26: addi.d $sp, $sp, -16 27: vld $vr0, $a0, 0 next:22 !~~~~~~~~~~~~~~~ error: match on wrong line 28: vpickve2gr.d $a0, $vr0, 1 29: st.h $a0, $sp, 2 30: vpickve2gr.d $a0, $vr0, 0 31: st.h $a0, $sp, 0 32: vld $vr0, $sp, 0 . . . 41: .p2align 5 42: .type load_trunc_2i64_to_2i8,@function 43: load_trunc_2i64_to_2i8: # @load_trunc_2i64_to_2i8 44: # %bb.0: 45: addi.d $sp, $sp, -16 46: vld $vr0, $a0, 0 next:37 !~~~~~~~~~~~~~~~ error: match on wrong line 47: vpickve2gr.d $a0, $vr0, 1 48: st.b $a0, $sp, 1 49: vpickve2gr.d $a0, $vr0, 0 50: st.b $a0, $sp, 0 51: vld $vr0, $sp, 0 . . . 60: .p2align 5 61: .type load_trunc_4i32_to_4i16,@function 62: load_trunc_4i32_to_4i16: # @load_trunc_4i32_to_4i16 63: # %bb.0: 64: addi.d $sp, $sp, -16 65: vld $vr0, $a0, 0 next:52 !~~~~~~~~~~~~~~~ error: match on wrong line 66: vpickve2gr.w $a0, $vr0, 3 67: st.h $a0, $sp, 6 68: vpickve2gr.w $a0, $vr0, 2 69: st.h $a0, $sp, 4 70: vpickve2gr.w $a0, $vr0, 1 . . . 82: .p2align 5 83: .type load_trunc_4i32_to_4i8,@function 84: load_trunc_4i32_to_4i8: # @load_trunc_4i32_to_4i8 85: # %bb.0: 86: addi.d $sp, $sp, -16 87: vld $vr0, $a0, 0 next:71 !~~~~~~~~~~~~~~~ error: match on wrong line 88: vpickve2gr.w $a0, $vr0, 3 89: st.b $a0, $sp, 3 90: vpickve2gr.w $a0, $vr0, 2 91: st.b $a0, $sp, 2 92: vpickve2gr.w $a0, $vr0, 1 . . . 105: .p2align 5 106: .type load_trunc_8i16_to_8i8,@function 107: load_trunc_8i16_to_8i8: # @load_trunc_8i16_to_8i8 108: # %bb.0: 109: addi.d $sp, $sp, -16 110: vld $vr0, $a0, 0 next:90 !~~~~~~~~~~~~~~~ error: match on wrong line 111: vpickve2gr.h $a0, $vr0, 7 112: st.b $a0, $sp, 7 113: vpickve2gr.h $a0, $vr0, 6 114: st.b $a0, $sp, 6 115: vpickve2gr.h $a0, $vr0, 5 . . . 133: # -- End function 134: .globl load_trunc_2i32_to_2i16 # -- Begin function load_trunc_2i32_to_2i16 135: .p2align 5 136: .type load_trunc_2i32_to_2i16,@function 137: load_trunc_2i32_to_2i16: # @load_trunc_2i32_to_2i16 138: # %bb.0: next:117'0 X error: no match found 139: addi.d $sp, $sp, -16 next:117'0 ~~~~~~~~~~~~~~~~~~~~~~ 140: ld.d $a0, $a0, 0 next:117'0 ~~~~~~~~~~~~~~~~~~ next:117'1 ? possible intended match 141: vinsgr2vr.d $vr0, $a0, 0 next:117'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~ 142: vpickve2gr.w $a0, $vr0, 1 next:117'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 143: st.h $a0, $sp, 2 next:117'0 ~~~~~~~~~~~~~~~~~~ 144: vpickve2gr.w $a0, $vr0, 0 next:117'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 145: st.h $a0, $sp, 0 next:117'0 ~~~~~~~~~~~~~~~~~~ . . . 153: # -- End function next:117'0 ~~~~~~~~~~~~~~~~~~~ 154: .globl load_trunc_2i32_to_2i8 # -- Begin function load_trunc_2i32_to_2i8 next:117'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 155: .p2align 5 next:117'0 ~~~~~~~~~~~~ 156: .type load_trunc_2i32_to_2i8,@function next:117'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 157: load_trunc_2i32_to_2i8: # @load_trunc_2i32_to_2i8 next:117'0 ~~~~~~~~~~~~~~~~~~~~~~~ 158: # %bb.0: next:131'0 X error: no match found 159: addi.d $sp, $sp, -16 next:131'0 ~~~~~~~~~~~~~~~~~~~~~~ 160: ld.d $a0, $a0, 0 next:131'0 ~~~~~~~~~~~~~~~~~~ next:131'1 ? possible intended match 161: vinsgr2vr.d $vr0, $a0, 0 next:131'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~ 162: vpickve2gr.w $a0, $vr0, 1 next:131'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163: st.b $a0, $sp, 1 next:131'0 ~~~~~~~~~~~~~~~~~~ 164: vpickve2gr.w $a0, $vr0, 0 next:131'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 165: st.b $a0, $sp, 0 next:131'0 ~~~~~~~~~~~~~~~~~~ . . . 173: # -- End function next:131'0 ~~~~~~~~~~~~~~~~~~~ 174: .globl load_trunc_4i16_to_4i8 # -- Begin function load_trunc_4i16_to_4i8 next:131'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175: .p2align 5 next:131'0 ~~~~~~~~~~~~ 176: .type load_trunc_4i16_to_4i8,@function next:131'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 177: load_trunc_4i16_to_4i8: # @load_trunc_4i16_to_4i8 next:131'0 ~~~~~~~~~~~~~~~~~~~~~~~ 178: # %bb.0: next:145'0 X error: no match found 179: addi.d $sp, $sp, -16 next:145'0 ~~~~~~~~~~~~~~~~~~~~~~ 180: ld.d $a0, $a0, 0 next:145'0 ~~~~~~~~~~~~~~~~~~ next:145'1 ? possible intended match 181: vinsgr2vr.d $vr0, $a0, 0 next:145'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~ 182: vpickve2gr.h $a0, $vr0, 3 next:145'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183: st.b $a0, $sp, 3 next:145'0 ~~~~~~~~~~~~~~~~~~ 184: vpickve2gr.h $a0, $vr0, 2 next:145'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 185: st.b $a0, $sp, 2 next:145'0 ~~~~~~~~~~~~~~~~~~ . . . 197: # -- End function next:145'0 ~~~~~~~~~~~~~~~~~~~ 198: .globl load_trunc_2i16_to_2i8 # -- Begin function load_trunc_2i16_to_2i8 next:145'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 199: .p2align 5 next:145'0 ~~~~~~~~~~~~ 200: .type load_trunc_2i16_to_2i8,@function next:145'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201: load_trunc_2i16_to_2i8: # @load_trunc_2i16_to_2i8 next:145'0 ~~~~~~~~~~~~~~~~~~~~~~~ 202: # %bb.0: next:163'0 X error: no match found 203: addi.d $sp, $sp, -16 next:163'0 ~~~~~~~~~~~~~~~~~~~~~~ 204: ld.w $a0, $a0, 0 next:163'0 ~~~~~~~~~~~~~~~~~~ next:163'1 ? possible intended match 205: vinsgr2vr.w $vr0, $a0, 0 next:163'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~ 206: vpickve2gr.h $a0, $vr0, 1 next:163'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 207: st.b $a0, $sp, 1 next:163'0 ~~~~~~~~~~~~~~~~~~ 208: vpickve2gr.h $a0, $vr0, 0 next:163'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 209: st.b $a0, $sp, 0 next:163'0 ~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (1): LLVM :: CodeGen/LoongArch/lsx/vec-trunc.ll Testing Time: 703.29s Total Discovered Tests: 64600 Skipped : 32 (0.05%) Unsupported : 2332 (3.61%) Passed : 62058 (96.07%) Expectedly Failed: 177 (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.