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:572: 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:572: 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:572: 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:572: note: using wasm-ld: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/wasm-ld llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:572: 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:572: 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:572: 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:572: note: using wasm-ld: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/wasm-ld llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:572: 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:572: 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:572: 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:572: note: using wasm-ld: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 70597 tests, 64 workers -- Testing: 0.. 10.. 20.. 30.. FAIL: LLVM :: Transforms/SeparateConstOffsetFromGEP/AMDGPU/rebuild-casts.ll (1585 of 70597) ******************** TEST 'LLVM :: Transforms/SeparateConstOffsetFromGEP/AMDGPU/rebuild-casts.ll' FAILED ******************** Exit Code: 1 Command Output (stdout): -- # RUN: at line 2 /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/opt < /usr/local/google/home/thakis/src/llvm-project/llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/rebuild-casts.ll -mtriple=amdgpu12.00-amd-amdhsa -passes=separate-const-offset-from-gep -S | /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/rebuild-casts.ll # executed command: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/opt -mtriple=amdgpu12.00-amd-amdhsa -passes=separate-const-offset-from-gep -S # executed command: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/rebuild-casts.ll # .---command stderr------------ # | /usr/local/google/home/thakis/src/llvm-project/llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/rebuild-casts.ll:52:15: error: CHECK-NEXT: expected string not found in input # | ; CHECK-NEXT: [[RHS:%.*]] = add nuw i32 [[B]], 1 # | ^ # | :27:57: note: scanning from here # | define ptr @zext_nneg_sub_tree(ptr %p, i32 %a, i32 %b) { # | ^ # | :27:57: note: with "B" equal to "%b" # | define ptr @zext_nneg_sub_tree(ptr %p, i32 %a, i32 %b) { # | ^ # | :27:57: note: pattern attempts to capture variables: "RHS" # | define ptr @zext_nneg_sub_tree(ptr %p, i32 %a, i32 %b) { # | ^ # | :30:2: note: possible intended match here # | %idx = sub i64 %1, %2 # | ^ # | # | Input file: # | Check file: /usr/local/google/home/thakis/src/llvm-project/llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/rebuild-casts.ll # | # | -dump-input=help explains the following input dump. # | # | Input was: # | <<<<<< # | . # | . # | . # | 22: %2 = getelementptr i8, ptr %p, i64 %1 # | 23: %arrayidx1 = getelementptr i8, ptr %2, i64 -1 # | 24: ret ptr %arrayidx1 # | 25: } # | 26: # | 27: define ptr @zext_nneg_sub_tree(ptr %p, i32 %a, i32 %b) { # | next:52'0 { search range start (exclusive) # | next:52'1 error: no match found in search range # | next:52'2 with "B" equal to "%b" # | next:52'3 pattern attempts to capture variables: "RHS" # | 28: %1 = zext i32 %a to i64 # | 29: %2 = zext i32 %b to i64 # | 30: %idx = sub i64 %1, %2 # | next:52'4 ? possible intended match # | 31: %3 = getelementptr i8, ptr %p, i64 %idx # | 32: %arrayidx1 = getelementptr i8, ptr %3, i64 1 # | 33: ret ptr %arrayidx1 # | 34: } # | next:52'5 } search range end (exclusive) # | >>>>>> # `----------------------------- # error: command failed with exit status: 1 -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (1): LLVM :: Transforms/SeparateConstOffsetFromGEP/AMDGPU/rebuild-casts.ll Testing Time: 184.95s Total Discovered Tests: 79920 Skipped : 23 (0.03%) Unsupported : 3400 (4.25%) Passed : 76325 (95.50%) Expectedly Failed: 171 (0.21%) 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.