ninja: Entering directory `out/gn' [0/1] 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:520: 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:520: 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:520: 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:520: note: using wasm-ld: /Users/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 58133 tests, 8 workers -- Testing: FAIL: LLVM :: Transforms/LoopStrengthReduce/X86/bin_power.ll (1 of 58133) ******************** TEST 'LLVM :: Transforms/LoopStrengthReduce/X86/bin_power.ll' FAILED ******************** Exit Code: 1 Command Output (stderr): -- /Users/thakis/src/llvm-project/out/gn/bin/opt < /Users/thakis/src/llvm-project/llvm/test/Transforms/LoopStrengthReduce/X86/bin_power.ll -scalar-evolution-huge-expr-threshold=1000000 -loop-reduce -S | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/llvm/test/Transforms/LoopStrengthReduce/X86/bin_power.ll # RUN: at line 2 + /Users/thakis/src/llvm-project/out/gn/bin/opt -scalar-evolution-huge-expr-threshold=1000000 -loop-reduce -S + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/llvm/test/Transforms/LoopStrengthReduce/X86/bin_power.ll /Users/thakis/src/llvm-project/llvm/test/Transforms/LoopStrengthReduce/X86/bin_power.ll:15:15: error: CHECK-NEXT: is not on the line after the previous match ; CHECK-NEXT: [[B:%.*]] = add i32 [[A]], 1 ^ :17:2: note: 'next' match was here %0 = add i32 %a, 1 ^ :11:58: note: previous match ended here %lsr.iv = phi i32 [ %lsr.iv.next, %loop ], [ 0, %entry ] ^ :12:1: note: non-matching line after previous match is here %lsr.iv.next = add nsw i32 %lsr.iv, -1 ^ /Users/thakis/src/llvm-project/llvm/test/Transforms/LoopStrengthReduce/X86/bin_power.ll:50:15: error: CHECK-NEXT: is not on the line after the previous match ; CHECK-NEXT: [[B:%.*]] = add i32 [[A]], 1 ^ :35:2: note: 'next' match was here %0 = add i32 %a, 1 ^ :29:58: note: previous match ended here %lsr.iv = phi i32 [ %lsr.iv.next, %loop ], [ 0, %entry ] ^ :30:1: note: non-matching line after previous match is here %lsr.iv.next = add nsw i32 %lsr.iv, -1 ^ /Users/thakis/src/llvm-project/llvm/test/Transforms/LoopStrengthReduce/X86/bin_power.ll:88:15: error: CHECK-NEXT: is not on the line after the previous match ; CHECK-NEXT: [[B:%.*]] = add i32 [[A]], 1 ^ :55:2: note: 'next' match was here %0 = add i32 %a, 1 ^ :49:58: note: previous match ended here %lsr.iv = phi i32 [ %lsr.iv.next, %loop ], [ 0, %entry ] ^ :50:1: note: non-matching line after previous match is here %lsr.iv.next = add nsw i32 %lsr.iv, -1 ^ /Users/thakis/src/llvm-project/llvm/test/Transforms/LoopStrengthReduce/X86/bin_power.ll:136:15: error: CHECK-NEXT: is not on the line after the previous match ; CHECK-NEXT: [[B:%.*]] = add i32 [[A]], 1 ^ :79:2: note: 'next' match was here %0 = add i32 %a, 1 ^ :73:58: note: previous match ended here %lsr.iv = phi i32 [ %lsr.iv.next, %loop ], [ 0, %entry ] ^ :74:1: note: non-matching line after previous match is here %lsr.iv.next = add nsw i32 %lsr.iv, -1 ^ /Users/thakis/src/llvm-project/llvm/test/Transforms/LoopStrengthReduce/X86/bin_power.ll:188:15: error: CHECK-NEXT: is not on the line after the previous match ; CHECK-NEXT: [[ADD:%.*]] = add i32 [[A]], 1 ^ :100:2: note: 'next' match was here %0 = add i32 %a, 1 ^ :94:58: note: previous match ended here %lsr.iv = phi i32 [ %lsr.iv.next, %loop ], [ 0, %entry ] ^ :95:1: note: non-matching line after previous match is here %lsr.iv.next = add nsw i32 %lsr.iv, -1 ^ /Users/thakis/src/llvm-project/llvm/test/Transforms/LoopStrengthReduce/X86/bin_power.ll:314:15: error: CHECK-NEXT: is not on the line after the previous match ; CHECK-NEXT: [[B:%.*]] = add i32 [[A]], 1 ^ :257:2: note: 'next' match was here %2 = add i32 %a, 1 ^ :249:58: note: previous match ended here %lsr.iv = phi i32 [ %lsr.iv.next, %loop ], [ 0, %entry ] ^ :250:1: note: non-matching line after previous match is here %lsr.iv.next = add nsw i32 %lsr.iv, -1 ^ Input file: Check file: /Users/thakis/src/llvm-project/llvm/test/Transforms/LoopStrengthReduce/X86/bin_power.ll -dump-input=help explains the following input dump. Input was: <<<<<< . . . 12: %lsr.iv.next = add nsw i32 %lsr.iv, -1 13: %exitcond = icmp eq i32 %lsr.iv.next, -80 14: br i1 %exitcond, label %exit, label %loop 15: 16: exit: ; preds = %loop 17: %0 = add i32 %a, 1 next:15 !~~~~~~~~~~~~~~~~~ error: match on wrong line 18: %1 = mul i32 %0, %0 19: %2 = add i32 %1, -1 20: %3 = sub i32 %2, %lsr.iv.next 21: ret i32 %3 22: } . . . 30: %lsr.iv.next = add nsw i32 %lsr.iv, -1 31: %exitcond = icmp eq i32 %lsr.iv.next, -80 32: br i1 %exitcond, label %exit, label %loop 33: 34: exit: ; preds = %loop 35: %0 = add i32 %a, 1 next:50 !~~~~~~~~~~~~~~~~~ error: match on wrong line 36: %1 = mul i32 %0, %0 37: %2 = mul i32 %1, %1 38: %3 = mul i32 %2, %2 39: %4 = add i32 %3, -1 40: %5 = sub i32 %4, %lsr.iv.next . . . 50: %lsr.iv.next = add nsw i32 %lsr.iv, -1 51: %exitcond = icmp eq i32 %lsr.iv.next, -80 52: br i1 %exitcond, label %exit, label %loop 53: 54: exit: ; preds = %loop 55: %0 = add i32 %a, 1 next:88 !~~~~~~~~~~~~~~~~~ error: match on wrong line 56: %1 = mul i32 %0, %0 57: %2 = mul i32 %0, %1 58: %3 = mul i32 %1, %1 59: %4 = mul i32 %3, %3 60: %5 = mul i32 %2, %4 . . . 74: %lsr.iv.next = add nsw i32 %lsr.iv, -1 75: %exitcond = icmp eq i32 %lsr.iv.next, -80 76: br i1 %exitcond, label %exit, label %loop 77: 78: exit: ; preds = %loop 79: %0 = add i32 %a, 1 next:136 !~~~~~~~~~~~~~~~~~ error: match on wrong line 80: %1 = mul i32 %0, %0 81: %2 = mul i32 %1, %1 82: %3 = mul i32 %2, %2 83: %4 = mul i32 %3, %3 84: %5 = add i32 %4, -1 . . . 95: %lsr.iv.next = add nsw i32 %lsr.iv, -1 96: %exitcond = icmp eq i32 %lsr.iv.next, -80 97: br i1 %exitcond, label %exit, label %loop 98: 99: exit: ; preds = %loop 100: %0 = add i32 %a, 1 next:188 !~~~~~~~~~~~~~~~~~ error: match on wrong line 101: %1 = mul i32 %0, %0 102: %2 = mul i32 %1, %1 103: %3 = mul i32 %2, %2 104: %4 = mul i32 %3, %3 105: %5 = mul i32 %4, %4 . . . 252: br i1 %exitcond, label %exit, label %loop 253: 254: exit: ; preds = %loop 255: %0 = mul i32 %c, %c 256: %1 = mul i32 %c, %0 257: %2 = add i32 %a, 1 next:314 !~~~~~~~~~~~~~~~~~ error: match on wrong line 258: %3 = mul i32 %2, %2 259: %4 = mul i32 %3, %3 260: %5 = mul i32 %4, %4 261: %6 = mul i32 %5, %5 262: %7 = mul i32 %1, %6 . . . >>>>>> -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (1): LLVM :: Transforms/LoopStrengthReduce/X86/bin_power.ll Testing Time: 551.41s Total Discovered Tests: 67534 Skipped : 33 (0.05%) Unsupported : 2579 (3.82%) Passed : 64748 (95.87%) Passed With Retry: 1 (0.00%) Expectedly Failed: 172 (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.