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:569: 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:569: 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:569: 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:569: 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:569: 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:569: 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:569: 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:569: note: using wasm-ld: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 69306 tests, 64 workers -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80. FAIL: LLVM :: Transforms/LowerTypeTests/cfi-jumptable-hotness-summary.ll (25824 of 69306) ******************** TEST 'LLVM :: Transforms/LowerTypeTests/cfi-jumptable-hotness-summary.ll' FAILED ******************** Exit Code: 1 Command Output (stdout): -- # RUN: at line 2 /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/opt -S /usr/local/google/home/thakis/src/llvm-project/llvm/test/Transforms/LowerTypeTests/cfi-jumptable-hotness-summary.ll -passes=lowertypetests -lowertypetests-summary-action=export -lowertypetests-read-summary=/usr/local/google/home/thakis/src/llvm-project/llvm/test/Transforms/LowerTypeTests/cfi-jumptable-hotness-summary.ll | /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/llvm/test/Transforms/LowerTypeTests/cfi-jumptable-hotness-summary.ll # executed command: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/opt -S /usr/local/google/home/thakis/src/llvm-project/llvm/test/Transforms/LowerTypeTests/cfi-jumptable-hotness-summary.ll -passes=lowertypetests -lowertypetests-summary-action=export -lowertypetests-read-summary=/usr/local/google/home/thakis/src/llvm-project/llvm/test/Transforms/LowerTypeTests/cfi-jumptable-hotness-summary.ll # 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/LowerTypeTests/cfi-jumptable-hotness-summary.ll # RUN: at line 3 /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/opt -S /usr/local/google/home/thakis/src/llvm-project/llvm/test/Transforms/LowerTypeTests/cfi-jumptable-hotness-summary.ll -passes=lowertypetests -lowertypetests-summary-action=export -lowertypetests-read-summary=/usr/local/google/home/thakis/src/llvm-project/llvm/test/Transforms/LowerTypeTests/cfi-jumptable-hotness-summary.ll -reorder-cfi-jump-tables-profiles=false | /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck --check-prefix=NO-REORDER /usr/local/google/home/thakis/src/llvm-project/llvm/test/Transforms/LowerTypeTests/cfi-jumptable-hotness-summary.ll # executed command: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/opt -S /usr/local/google/home/thakis/src/llvm-project/llvm/test/Transforms/LowerTypeTests/cfi-jumptable-hotness-summary.ll -passes=lowertypetests -lowertypetests-summary-action=export -lowertypetests-read-summary=/usr/local/google/home/thakis/src/llvm-project/llvm/test/Transforms/LowerTypeTests/cfi-jumptable-hotness-summary.ll -reorder-cfi-jump-tables-profiles=false # executed command: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck --check-prefix=NO-REORDER /usr/local/google/home/thakis/src/llvm-project/llvm/test/Transforms/LowerTypeTests/cfi-jumptable-hotness-summary.ll # .---command stderr------------ # | /usr/local/google/home/thakis/src/llvm-project/llvm/test/Transforms/LowerTypeTests/cfi-jumptable-hotness-summary.ll:207:20: error: NO-REORDER-NEXT: expected string not found in input # | ; NO-REORDER-NEXT: [[TMP2:%.*]] = sub i64 ptrtoint (ptr getelementptr (i8, ptr @.cfi.jumptable, i64 24) to i64), [[TMP1]] # | ^ # | :49:29: note: scanning from here # | %1 = ptrtoint ptr %p to i64 # | ^ # | :49:29: note: with "TMP1" equal to "%1" # | %1 = ptrtoint ptr %p to i64 # | ^ # | :49:29: note: pattern attempts to capture variables: "TMP2" # | %1 = ptrtoint ptr %p to i64 # | ^ # | :50:2: note: possible intended match here # | %2 = sub i64 ptrtoint (ptr getelementptr (i8, ptr @.cfi.jumptable, i64 48) to i64), %1 # | ^ # | /usr/local/google/home/thakis/src/llvm-project/llvm/test/Transforms/LowerTypeTests/cfi-jumptable-hotness-summary.ll:225:20: error: NO-REORDER-NEXT: expected string not found in input # | ; NO-REORDER-NEXT: [[TMP2:%.*]] = sub i64 ptrtoint (ptr getelementptr (i8, ptr @.cfi.jumptable, i64 48) to i64), [[TMP1]] # | ^ # | :65:29: note: scanning from here # | %1 = ptrtoint ptr %p to i64 # | ^ # | :65:29: note: with "TMP1" equal to "%1" # | %1 = ptrtoint ptr %p to i64 # | ^ # | :65:29: note: pattern attempts to capture variables: "TMP2" # | %1 = ptrtoint ptr %p to i64 # | ^ # | :66:2: note: possible intended match here # | %2 = sub i64 ptrtoint (ptr getelementptr (i8, ptr @.cfi.jumptable, i64 16) to i64), %1 # | ^ # | /usr/local/google/home/thakis/src/llvm-project/llvm/test/Transforms/LowerTypeTests/cfi-jumptable-hotness-summary.ll:234:20: error: NO-REORDER-NEXT: is not on the line after the previous match # | ; NO-REORDER-NEXT: call void asm sideeffect "jmp ${0:c}@plt\0Aint3\0Aint3\0Aint3\0A", "s"(ptr @f_hot.cfi) # | ^ # | :81:2: note: 'next' match was here # | call void asm sideeffect "jmp ${0:c}@plt\0Aint3\0Aint3\0Aint3\0A", "s"(ptr @f_hot.cfi) # | ^ # | :74:7: note: previous match ended here # | entry: # | ^ # | :75:1: note: non-matching line after previous match is here # | call void asm sideeffect "jmp ${0:c}@plt\0Aint3\0Aint3\0Aint3\0A", "s"(ptr @g_cold.cfi) # | ^ # | # | Input file: # | Check file: /usr/local/google/home/thakis/src/llvm-project/llvm/test/Transforms/LowerTypeTests/cfi-jumptable-hotness-summary.ll # | # | -dump-input=help explains the following input dump. # | # | Input was: # | <<<<<< # | . # | . # | . # | 44: # | 45: ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) # | 46: declare i1 @llvm.type.test(ptr, metadata) #0 # | 47: # | 48: define i1 @test_typeid1(ptr %p) { # | 49: %1 = ptrtoint ptr %p to i64 # | next:207'0 { search range start (exclusive) # | next:207'1 error: no match found in search range # | next:207'2 with "TMP1" equal to "%1" # | next:207'3 pattern attempts to capture variables: "TMP2" # | 50: %2 = sub i64 ptrtoint (ptr getelementptr (i8, ptr @.cfi.jumptable, i64 48) to i64), %1 # | next:207'4 ? possible intended match # | 51: %3 = call i64 @llvm.fshr.i64(i64 %2, i64 %2, i64 3) # | 52: %4 = icmp ule i64 %3, 3 # | 53: ret i1 %4 # | 54: } # | 55: # | 56: define i1 @test_typeid2(ptr %p) { # | next:207'5 } search range end (exclusive) # | 57: %1 = ptrtoint ptr %p to i64 # | 58: %2 = sub i64 ptrtoint (ptr getelementptr (i8, ptr @.cfi.jumptable, i64 48) to i64), %1 # | 59: %3 = call i64 @llvm.fshr.i64(i64 %2, i64 %2, i64 3) # | 60: %4 = icmp ule i64 %3, 6 # | 61: ret i1 %4 # | 62: } # | 63: # | 64: define i1 @test_generalized(ptr %p) { # | 65: %1 = ptrtoint ptr %p to i64 # | next:225'0 { search range start (exclusive) # | next:225'1 error: no match found in search range # | next:225'2 with "TMP1" equal to "%1" # | next:225'3 pattern attempts to capture variables: "TMP2" # | 66: %2 = sub i64 ptrtoint (ptr getelementptr (i8, ptr @.cfi.jumptable, i64 16) to i64), %1 # | next:225'4 ? possible intended match # | 67: %3 = call i64 @llvm.fshr.i64(i64 %2, i64 %2, i64 3) # | 68: %4 = icmp ule i64 %3, 2 # | 69: ret i1 %4 # | 70: } # | 71: # | 72: ; Function Attrs: naked nocf_check noinline # | 73: define private void @.cfi.jumptable() #1 prefalign(8) !elf_section_properties !17 { # | next:225'5 } search range end (exclusive) # | 74: entry: # | next:234'0 { search range start (exclusive) # | 75: call void asm sideeffect "jmp ${0:c}@plt\0Aint3\0Aint3\0Aint3\0A", "s"(ptr @g_cold.cfi) # | 76: call void asm sideeffect "jmp ${0:c}@plt\0Aint3\0Aint3\0Aint3\0A", "s"(ptr @g_unknown.cfi) # | 77: call void asm sideeffect "jmp ${0:c}@plt\0Aint3\0Aint3\0Aint3\0A", "s"(ptr @g_other.cfi) # | 78: call void asm sideeffect "jmp ${0:c}@plt\0Aint3\0Aint3\0Aint3\0A", "s"(ptr @f_cold.cfi) # | 79: call void asm sideeffect "jmp ${0:c}@plt\0Aint3\0Aint3\0Aint3\0A", "s"(ptr @f_unknown.cfi) # | 80: call void asm sideeffect "jmp ${0:c}@plt\0Aint3\0Aint3\0Aint3\0A", "s"(ptr @f_other.cfi) # | 81: call void asm sideeffect "jmp ${0:c}@plt\0Aint3\0Aint3\0Aint3\0A", "s"(ptr @f_hot.cfi) # | next:234'1 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line # | 82: unreachable # | 83: } # | 84: # | 85: ; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) # | 86: declare i64 @llvm.fshr.i64(i64, i64, i64) #2 # | . # | . # | . # | 106: !12 = !{i64 3658589069114391263} # | 107: !13 = !{i64 -365719035820452472} # | 108: !14 = !{i64 1928809046209326017} # | 109: !15 = !{i64 4485074774011110174} # | 110: !16 = !{i64 1205929326482009600} # | 111: !17 = !{i64 1879002126, i64 8} # | next:234'2 } 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/LowerTypeTests/cfi-jumptable-hotness-summary.ll Testing Time: 233.54s Total Discovered Tests: 78410 Skipped : 18 (0.02%) Unsupported : 3289 (4.19%) Passed : 74927 (95.56%) Expectedly Failed: 175 (0.22%) 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.