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:506: 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:506: 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:506: 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:506: note: using wasm-ld: /Users/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 54955 tests, 8 workers -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: LLVM :: Transforms/InstCombine/fcmp-fadd-select.ll (54955 of 54955) ******************** TEST 'LLVM :: Transforms/InstCombine/fcmp-fadd-select.ll' FAILED ******************** Exit Code: 1 Command Output (stderr): -- RUN: at line 2: /Users/thakis/src/llvm-project/out/gn/bin/opt < /Users/thakis/src/llvm-project/llvm/test/Transforms/InstCombine/fcmp-fadd-select.ll -passes=instcombine -S | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/llvm/test/Transforms/InstCombine/fcmp-fadd-select.ll + /Users/thakis/src/llvm-project/out/gn/bin/opt -passes=instcombine -S + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/llvm/test/Transforms/InstCombine/fcmp-fadd-select.ll /Users/thakis/src/llvm-project/llvm/test/Transforms/InstCombine/fcmp-fadd-select.ll:62:15: error: CHECK-NEXT: expected string not found in input ; CHECK-NEXT: [[ADD_NEW:%.*]] = fadd nnan nsz <2 x float> [[SEL_NEW]], ^ :29:99: note: scanning from here %sel = call nnan nsz <2 x float> @llvm.maxnum.v2f32(<2 x float> %in, <2 x float> zeroinitializer) ^ :29:99: note: with "SEL_NEW" equal to "%sel" %sel = call nnan nsz <2 x float> @llvm.maxnum.v2f32(<2 x float> %in, <2 x float> zeroinitializer) ^ :30:2: note: possible intended match here %add = fadd nnan nsz <2 x float> %sel, splat (float 1.000000e+00) ^ /Users/thakis/src/llvm-project/llvm/test/Transforms/InstCombine/fcmp-fadd-select.ll:130:15: error: CHECK-NEXT: expected string not found in input ; CHECK-NEXT: [[ADD_NEW:%.*]] = fadd nnan nsz <2 x float> [[SEL_NEW]], ^ :59:99: note: scanning from here %sel = call nnan nsz <2 x float> @llvm.minnum.v2f32(<2 x float> %in, <2 x float> zeroinitializer) ^ :59:99: note: with "SEL_NEW" equal to "%sel" %sel = call nnan nsz <2 x float> @llvm.minnum.v2f32(<2 x float> %in, <2 x float> zeroinitializer) ^ :60:2: note: possible intended match here %add = fadd nnan nsz <2 x float> %sel, splat (float 1.000000e+00) ^ /Users/thakis/src/llvm-project/llvm/test/Transforms/InstCombine/fcmp-fadd-select.ll:198:15: error: CHECK-NEXT: expected string not found in input ; CHECK-NEXT: [[ADD_NEW:%.*]] = fadd nnan nsz <2 x float> [[SEL_NEW]], ^ :89:99: note: scanning from here %sel = call nnan nsz <2 x float> @llvm.maxnum.v2f32(<2 x float> %in, <2 x float> zeroinitializer) ^ :89:99: note: with "SEL_NEW" equal to "%sel" %sel = call nnan nsz <2 x float> @llvm.maxnum.v2f32(<2 x float> %in, <2 x float> zeroinitializer) ^ :90:2: note: possible intended match here %add = fadd nnan nsz <2 x float> %sel, splat (float 1.000000e+00) ^ /Users/thakis/src/llvm-project/llvm/test/Transforms/InstCombine/fcmp-fadd-select.ll:266:15: error: CHECK-NEXT: expected string not found in input ; CHECK-NEXT: [[ADD_NEW:%.*]] = fadd nnan nsz <2 x float> [[SEL_NEW]], ^ :119:99: note: scanning from here %sel = call nnan nsz <2 x float> @llvm.minnum.v2f32(<2 x float> %in, <2 x float> zeroinitializer) ^ :119:99: note: with "SEL_NEW" equal to "%sel" %sel = call nnan nsz <2 x float> @llvm.minnum.v2f32(<2 x float> %in, <2 x float> zeroinitializer) ^ :120:2: note: possible intended match here %add = fadd nnan nsz <2 x float> %sel, splat (float 1.000000e+00) ^ /Users/thakis/src/llvm-project/llvm/test/Transforms/InstCombine/fcmp-fadd-select.ll:339:15: error: CHECK-NEXT: expected string not found in input ; CHECK-NEXT: [[ADD_NEW:%.*]] = fadd nnan nsz <2 x float> [[SEL_NEW]], ^ :154:80: note: scanning from here %sel = select <2 x i1> %cmp1.inv, <2 x float> zeroinitializer, <2 x float> %in ^ :154:80: note: with "SEL_NEW" equal to "%sel" %sel = select <2 x i1> %cmp1.inv, <2 x float> zeroinitializer, <2 x float> %in ^ :155:2: note: possible intended match here %add = fadd nnan nsz <2 x float> %sel, splat (float 1.000000e+00) ^ /Users/thakis/src/llvm-project/llvm/test/Transforms/InstCombine/fcmp-fadd-select.ll:412:15: error: CHECK-NEXT: expected string not found in input ; CHECK-NEXT: [[ADD_NEW:%.*]] = fadd nnan nsz <2 x float> [[SEL_NEW]], ^ :189:80: note: scanning from here %sel = select <2 x i1> %cmp1.inv, <2 x float> zeroinitializer, <2 x float> %in ^ :189:80: note: with "SEL_NEW" equal to "%sel" %sel = select <2 x i1> %cmp1.inv, <2 x float> zeroinitializer, <2 x float> %in ^ :190:2: note: possible intended match here %add = fadd nnan nsz <2 x float> %sel, splat (float 1.000000e+00) ^ /Users/thakis/src/llvm-project/llvm/test/Transforms/InstCombine/fcmp-fadd-select.ll:485:15: error: CHECK-NEXT: expected string not found in input ; CHECK-NEXT: [[ADD_NEW:%.*]] = fadd nnan nsz <2 x float> [[SEL_NEW]], ^ :224:80: note: scanning from here %sel = select <2 x i1> %cmp1.inv, <2 x float> zeroinitializer, <2 x float> %in ^ :224:80: note: with "SEL_NEW" equal to "%sel" %sel = select <2 x i1> %cmp1.inv, <2 x float> zeroinitializer, <2 x float> %in ^ :225:2: note: possible intended match here %add = fadd nnan nsz <2 x float> %sel, splat (float 1.000000e+00) ^ /Users/thakis/src/llvm-project/llvm/test/Transforms/InstCombine/fcmp-fadd-select.ll:558:15: error: CHECK-NEXT: expected string not found in input ; CHECK-NEXT: [[ADD_NEW:%.*]] = fadd nnan nsz <2 x float> [[SEL_NEW]], ^ :259:80: note: scanning from here %sel = select <2 x i1> %cmp1.inv, <2 x float> zeroinitializer, <2 x float> %in ^ :259:80: note: with "SEL_NEW" equal to "%sel" %sel = select <2 x i1> %cmp1.inv, <2 x float> zeroinitializer, <2 x float> %in ^ :260:2: note: possible intended match here %add = fadd nnan nsz <2 x float> %sel, splat (float 1.000000e+00) ^ Input file: Check file: /Users/thakis/src/llvm-project/llvm/test/Transforms/InstCombine/fcmp-fadd-select.ll -dump-input=help explains the following input dump. Input was: <<<<<< . . . 24: %add = fadd nnan nsz float %sel, 1.000000e+00 25: ret float %add 26: } 27: 28: define <2 x float> @test_fcmp_ogt_fadd_select_constant_vectors(<2 x float> %in) { 29: %sel = call nnan nsz <2 x float> @llvm.maxnum.v2f32(<2 x float> %in, <2 x float> zeroinitializer) next:62'0 X error: no match found next:62'1 with "SEL_NEW" equal to "%sel" 30: %add = fadd nnan nsz <2 x float> %sel, splat (float 1.000000e+00) next:62'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next:62'2 ? possible intended match 31: ret <2 x float> %add next:62'0 ~~~~~~~~~~~~~~~~~~~~~~ 32: } next:62'0 ~~ 33: next:62'0 ~ 34: define float @test_fcmp_olt_fadd_select_constant(float %in) { next:62'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35: %sel = call nnan nsz float @llvm.minnum.f32(float %in, float 0.000000e+00) . . . 54: %add = fadd nnan nsz float %sel, 1.000000e+00 55: ret float %add 56: } 57: 58: define <2 x float> @test_fcmp_olt_fadd_select_constant_vectors(<2 x float> %in) { 59: %sel = call nnan nsz <2 x float> @llvm.minnum.v2f32(<2 x float> %in, <2 x float> zeroinitializer) next:130'0 X error: no match found next:130'1 with "SEL_NEW" equal to "%sel" 60: %add = fadd nnan nsz <2 x float> %sel, splat (float 1.000000e+00) next:130'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next:130'2 ? possible intended match 61: ret <2 x float> %add next:130'0 ~~~~~~~~~~~~~~~~~~~~~~ 62: } next:130'0 ~~ 63: next:130'0 ~ 64: define float @test_fcmp_oge_fadd_select_constant(float %in) { next:130'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 65: %sel = call nnan nsz float @llvm.maxnum.f32(float %in, float 0.000000e+00) . . . 84: %add = fadd nnan nsz float %sel, 1.000000e+00 85: ret float %add 86: } 87: 88: define <2 x float> @test_fcmp_oge_fadd_select_constant_vectors(<2 x float> %in) { 89: %sel = call nnan nsz <2 x float> @llvm.maxnum.v2f32(<2 x float> %in, <2 x float> zeroinitializer) next:198'0 X error: no match found next:198'1 with "SEL_NEW" equal to "%sel" 90: %add = fadd nnan nsz <2 x float> %sel, splat (float 1.000000e+00) next:198'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next:198'2 ? possible intended match 91: ret <2 x float> %add next:198'0 ~~~~~~~~~~~~~~~~~~~~~~ 92: } next:198'0 ~~ 93: next:198'0 ~ 94: define float @test_fcmp_ole_fadd_select_constant(float %in) { next:198'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 95: %sel = call nnan nsz float @llvm.minnum.f32(float %in, float 0.000000e+00) . . . 114: %add = fadd nnan nsz float %sel, 1.000000e+00 115: ret float %add 116: } 117: 118: define <2 x float> @test_fcmp_ole_fadd_select_constant_vectors(<2 x float> %in) { 119: %sel = call nnan nsz <2 x float> @llvm.minnum.v2f32(<2 x float> %in, <2 x float> zeroinitializer) next:266'0 X error: no match found next:266'1 with "SEL_NEW" equal to "%sel" 120: %add = fadd nnan nsz <2 x float> %sel, splat (float 1.000000e+00) next:266'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next:266'2 ? possible intended match 121: ret <2 x float> %add next:266'0 ~~~~~~~~~~~~~~~~~~~~~~ 122: } next:266'0 ~~ 123: next:266'0 ~ 124: define float @test_fcmp_ugt_fadd_select_constant(float %in) { next:266'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 125: %cmp1.inv = fcmp ole float %in, 0.000000e+00 . . . 149: ret float %add 150: } 151: 152: define <2 x float> @test_fcmp_ugt_fadd_select_constant_vectors(<2 x float> %in) { 153: %cmp1.inv = fcmp ole <2 x float> %in, zeroinitializer 154: %sel = select <2 x i1> %cmp1.inv, <2 x float> zeroinitializer, <2 x float> %in next:339'0 X error: no match found next:339'1 with "SEL_NEW" equal to "%sel" 155: %add = fadd nnan nsz <2 x float> %sel, splat (float 1.000000e+00) next:339'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next:339'2 ? possible intended match 156: ret <2 x float> %add next:339'0 ~~~~~~~~~~~~~~~~~~~~~~ 157: } next:339'0 ~~ 158: next:339'0 ~ 159: define float @test_fcmp_uge_fadd_select_constant(float %in) { next:339'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 160: %cmp1.inv = fcmp olt float %in, 0.000000e+00 . . . 184: ret float %add 185: } 186: 187: define <2 x float> @test_fcmp_uge_fadd_select_constant_vectors(<2 x float> %in) { 188: %cmp1.inv = fcmp olt <2 x float> %in, zeroinitializer 189: %sel = select <2 x i1> %cmp1.inv, <2 x float> zeroinitializer, <2 x float> %in next:412'0 X error: no match found next:412'1 with "SEL_NEW" equal to "%sel" 190: %add = fadd nnan nsz <2 x float> %sel, splat (float 1.000000e+00) next:412'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next:412'2 ? possible intended match 191: ret <2 x float> %add next:412'0 ~~~~~~~~~~~~~~~~~~~~~~ 192: } next:412'0 ~~ 193: next:412'0 ~ 194: define float @test_fcmp_ult_fadd_select_constant(float %in) { next:412'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 195: %cmp1.inv = fcmp oge float %in, 0.000000e+00 . . . 219: ret float %add 220: } 221: 222: define <2 x float> @test_fcmp_ult_fadd_select_constant_vectors(<2 x float> %in) { 223: %cmp1.inv = fcmp oge <2 x float> %in, zeroinitializer 224: %sel = select <2 x i1> %cmp1.inv, <2 x float> zeroinitializer, <2 x float> %in next:485'0 X error: no match found next:485'1 with "SEL_NEW" equal to "%sel" 225: %add = fadd nnan nsz <2 x float> %sel, splat (float 1.000000e+00) next:485'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next:485'2 ? possible intended match 226: ret <2 x float> %add next:485'0 ~~~~~~~~~~~~~~~~~~~~~~ 227: } next:485'0 ~~ 228: next:485'0 ~ 229: define float @test_fcmp_ule_fadd_select_constant(float %in) { next:485'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 230: %cmp1.inv = fcmp ogt float %in, 0.000000e+00 . . . 254: ret float %add 255: } 256: 257: define <2 x float> @test_fcmp_ule_fadd_select_constant_vectors(<2 x float> %in) { 258: %cmp1.inv = fcmp ogt <2 x float> %in, zeroinitializer 259: %sel = select <2 x i1> %cmp1.inv, <2 x float> zeroinitializer, <2 x float> %in next:558'0 X error: no match found next:558'1 with "SEL_NEW" equal to "%sel" 260: %add = fadd nnan nsz <2 x float> %sel, splat (float 1.000000e+00) next:558'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next:558'2 ? possible intended match 261: ret <2 x float> %add next:558'0 ~~~~~~~~~~~~~~~~~~~~~~ 262: } next:558'0 ~~ 263: next:558'0 ~ 264: define float @test_select_without_nnan_nsz(float %in) { next:558'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265: %cmp1 = fcmp ogt float %in, 0.000000e+00 . . . >>>>>> -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (1): LLVM :: Transforms/InstCombine/fcmp-fadd-select.ll Testing Time: 542.20s Total Discovered Tests: 62827 Skipped : 32 (0.05%) Unsupported : 2165 (3.45%) Passed : 60461 (96.23%) Expectedly Failed: 168 (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.