[llvm] [profcheck][CVP] Adding 'unknown' branch weights for `urem` expansion in CVP (PR #180637)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 19 07:00:29 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 169820 tests passed
* 3071 tests skipped
* 9 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/itofp.i128.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=0 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/itofp.i128.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GCN,SDAG /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/itofp.i128.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=0 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GCN,SDAG /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/itofp.i128.ll
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=1 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/itofp.i128.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GCN,GISEL /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/itofp.i128.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=1 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GCN,GISEL /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/itofp.i128.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/itofp.i128.ll:426:15: error: GISEL-NEXT: expected string not found in input
# | ; GISEL-NEXT: ; %bb.2: ; %itofp-if-else
# | ^
# | <stdin>:193:32: note: scanning from here
# | s_xor_b64 s[4:5], exec, s[4:5]
# | ^
# | <stdin>:257:1: note: possible intended match here
# | ; %bb.9: ; %itofp-sw-epilog
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/itofp.i128.ll:1010:15: error: GISEL-NEXT: expected string not found in input
# | ; GISEL-NEXT: ; %bb.2: ; %itofp-if-else
# | ^
# | <stdin>:521:32: note: scanning from here
# | s_xor_b64 s[4:5], exec, s[4:5]
# | ^
# | <stdin>:537:1: note: possible intended match here
# | ; %bb.5: ; %itofp-sw-default
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/itofp.i128.ll:1565:15: error: GISEL-NEXT: expected string not found in input
# | ; GISEL-NEXT: ; %bb.2: ; %itofp-if-else
# | ^
# | <stdin>:853:32: note: scanning from here
# | s_xor_b64 s[4:5], exec, s[4:5]
# | ^
# | <stdin>:917:1: note: possible intended match here
# | ; %bb.9: ; %itofp-sw-epilog
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/itofp.i128.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 188: v_cndmask_b32_e32 v5, v5, v4, vcc
# | 189: v_sub_u32_e32 v6, 0x80, v5
# | 190: v_cmp_ge_i32_e32 vcc, 24, v6
# | 191: ; implicit-def: $vgpr4
# | 192: s_and_saveexec_b64 s[4:5], vcc
# | 193: s_xor_b64 s[4:5], exec, s[4:5]
# | next:426'0 X error: no match found
# | 194: s_cbranch_execnz .LBB1_13
# | next:426'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 195: .LBB1_2: ; %Flow3
# | next:426'0 ~~~~~~~~~~~~~~~~~~
# | 196: s_or_saveexec_b64 s[8:9], s[4:5]
# | next:426'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 197: v_sub_u32_e32 v7, 0x7f, v5
# | next:426'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 198: s_xor_b64 exec, exec, s[8:9]
# | next:426'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 252: s_or_b64 exec, exec, s[12:13]
# | next:426'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 253: .LBB1_7: ; %Flow2
# | next:426'0 ~~~~~~~~~~~~~~~~~~
# | 254: s_andn2_saveexec_b64 s[4:5], s[10:11]
# | next:426'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 255: ; %bb.8: ; %itofp-sw-bb
# | next:426'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 256: v_lshlrev_b64 v[0:1], 1, v[0:1]
# | next:426'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 257: ; %bb.9: ; %itofp-sw-epilog
# | next:426'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:426'1 ? possible intended match
# | 258: s_or_b64 exec, exec, s[4:5]
# | next:426'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 259: v_bfe_u32 v2, v0, 2, 1
# | next:426'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 260: v_or_b32_e32 v0, v0, v2
# | next:426'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 261: v_add_co_u32_e32 v0, vcc, 1, v0
# | next:426'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 262: v_addc_co_u32_e32 v1, vcc, 0, v1, vcc
# | next:426'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 516: v_sub_u32_e32 v6, 0x80, v8
# | 517: v_cmp_ge_i32_e32 vcc, 53, v6
# | 518: ; implicit-def: $vgpr9
# | 519: ; implicit-def: $vgpr4_vgpr5
# | 520: s_and_saveexec_b64 s[4:5], vcc
# | 521: s_xor_b64 s[4:5], exec, s[4:5]
# | next:1010'0 X error: no match found
# | 522: s_cbranch_execnz .LBB3_13
# | next:1010'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 523: .LBB3_2: ; %Flow3
# | next:1010'0 ~~~~~~~~~~~~~~~~~~
# | 524: s_or_saveexec_b64 s[8:9], s[4:5]
# | next:1010'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 525: v_sub_u32_e32 v7, 0x7f, v8
# | next:1010'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 526: s_xor_b64 exec, exec, s[8:9]
# | next:1010'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 532: s_cbranch_execz .LBB3_7
# | next:1010'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 533: ; %bb.4: ; %LeafBlock
# | next:1010'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 534: v_cmp_ne_u32_e32 vcc, 55, v6
# | next:1010'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 535: s_and_saveexec_b64 s[12:13], vcc
# | next:1010'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 536: s_cbranch_execz .LBB3_6
# | next:1010'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 537: ; %bb.5: ; %itofp-sw-default
# | next:1010'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1010'1 ? possible intended match
# | 538: v_sub_u32_e32 v13, 0x49, v8
# | next:1010'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 539: v_sub_u32_e32 v9, 64, v13
# | next:1010'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 540: v_lshrrev_b64 v[4:5], v13, v[0:1]
# | next:1010'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 541: v_lshlrev_b64 v[9:10], v9, v[2:3]
# | next:1010'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 542: v_add_u32_e32 v14, 0xffffffc0, v13
# | next:1010'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 848: v_cndmask_b32_e32 v5, v5, v4, vcc
# | 849: v_sub_u32_e32 v6, 0x80, v5
# | 850: v_cmp_ge_i32_e32 vcc, 24, v6
# | 851: ; implicit-def: $vgpr4
# | 852: s_and_saveexec_b64 s[4:5], vcc
# | 853: s_xor_b64 s[4:5], exec, s[4:5]
# | next:1565'0 X error: no match found
# | 854: s_cbranch_execnz .LBB5_13
# | next:1565'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 855: .LBB5_2: ; %Flow3
# | next:1565'0 ~~~~~~~~~~~~~~~~~~
# | 856: s_or_saveexec_b64 s[8:9], s[4:5]
# | next:1565'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 857: v_sub_u32_e32 v7, 0x7f, v5
# | next:1565'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 858: s_xor_b64 exec, exec, s[8:9]
# | next:1565'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 912: s_or_b64 exec, exec, s[12:13]
# | next:1565'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 913: .LBB5_7: ; %Flow2
# | next:1565'0 ~~~~~~~~~~~~~~~~~~
# | 914: s_andn2_saveexec_b64 s[4:5], s[10:11]
# | next:1565'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 915: ; %bb.8: ; %itofp-sw-bb
# | next:1565'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 916: v_lshlrev_b64 v[0:1], 1, v[0:1]
# | next:1565'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 917: ; %bb.9: ; %itofp-sw-epilog
# | next:1565'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1565'1 ? possible intended match
# | 918: s_or_b64 exec, exec, s[4:5]
# | next:1565'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 919: v_bfe_u32 v2, v0, 2, 1
# | next:1565'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 920: v_or_b32_e32 v0, v0, v2
# | next:1565'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 921: v_add_co_u32_e32 v0, vcc, 1, v0
# | next:1565'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 922: v_addc_co_u32_e32 v1, vcc, 0, v1, vcc
# | next:1565'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/bitint-fp-conv-200.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv64 -verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/bitint-fp-conv-200.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV64 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/bitint-fp-conv-200.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv64 -verify-machineinstrs
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV64 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/bitint-fp-conv-200.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/bitint-fp-conv-200.ll:116:14: error: RV64-NEXT: is not on the line after the previous match
# | ; RV64-NEXT: ld a2, 8(a0)
# | ^
# | <stdin>:49:2: note: 'next' match was here
# | ld a2, 8(a0)
# | ^
# | <stdin>:45:24: note: previous match ended here
# | # %bb.0: # %itofp-entry
# | ^
# | <stdin>:46:1: note: non-matching line after previous match is here
# | ld a5, 16(a0)
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/bitint-fp-conv-200.ll:952:14: error: RV64-NEXT: expected string not found in input
# | ; RV64-NEXT: addi sp, sp, -256
# | ^
# | <stdin>:380:26: note: scanning from here
# | # %bb.0: # %fp-to-i-entry
# | ^
# | <stdin>:381:2: note: possible intended match here
# | addi sp, sp, -160
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/bitint-fp-conv-200.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 44: test_bitint_200_to_float: # @test_bitint_200_to_float
# | 45: # %bb.0: # %itofp-entry
# | 46: ld a5, 16(a0)
# | 47: lbu a4, 24(a0)
# | 48: ld a3, 0(a0)
# | 49: ld a2, 8(a0)
# | next:116 !~~~~~~~~~~~ error: match on wrong line
# | 50: zext.b a0, a4
# | 51: or a6, a3, a5
# | 52: or a0, a2, a0
# | 53: or a0, a6, a0
# | 54: beqz a0, .LBB1_17
# | .
# | .
# | .
# | 375: # -- End function
# | 376: .globl test_float_to_bitint_200 # -- Begin function test_float_to_bitint_200
# | 377: .p2align 2
# | 378: .type test_float_to_bitint_200, at function
# | 379: test_float_to_bitint_200: # @test_float_to_bitint_200
# | 380: # %bb.0: # %fp-to-i-entry
# | next:952'0 X error: no match found
# | 381: addi sp, sp, -160
# | next:952'0 ~~~~~~~~~~~~~~~~~~~
# | next:952'1 ? possible intended match
# | 382: sd ra, 152(sp) # 8-byte Folded Spill
# | next:952'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 383: sd s0, 144(sp) # 8-byte Folded Spill
# | next:952'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 384: sd s1, 136(sp) # 8-byte Folded Spill
# | next:952'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 385: sd s2, 128(sp) # 8-byte Folded Spill
# | next:952'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 386: sd s3, 120(sp) # 8-byte Folded Spill
# | next:952'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/fpclamptosat.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -mattr=+f -verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/fpclamptosat.ll -target-abi=ilp32f | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=RV32,RV32IF /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/fpclamptosat.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -mattr=+f -verify-machineinstrs -target-abi=ilp32f
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc: error: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc: <stdin>:1090:1: error: expected instruction opcode
# | <<<<<<< HEAD
# | ^
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=RV32,RV32IF /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/fpclamptosat.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=RV32,RV32IF /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/fpclamptosat.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.Transforms/ExpandIRInsts/X86/expand-int-convert-small.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -mtriple=x86_64-- -passes='require<libcall-lowering-info>,expand-ir-insts' -expand-fp-convert-bits=0 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/ExpandIRInsts/X86/expand-int-convert-small.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/ExpandIRInsts/X86/expand-int-convert-small.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -mtriple=x86_64-- '-passes=require<libcall-lowering-info>,expand-ir-insts' -expand-fp-convert-bits=0
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/ExpandIRInsts/X86/expand-int-convert-small.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/ExpandIRInsts/X86/expand-int-convert-small.ll:13:10: error: CHECK: expected string not found in input
# | ; CHECK: [[ITOFP_IF_END]]:
# | ^
# | <stdin>:10:62: note: scanning from here
# | br i1 %1, label %itofp-return, label %itofp-if-end, !prof !0
# | ^
# | <stdin>:10:62: note: with "ITOFP_IF_END" equal to "itofp-if-end, !prof !0"
# | br i1 %1, label %itofp-return, label %itofp-if-end, !prof !0
# | ^
# | <stdin>:12:13: note: possible intended match here
# | itofp-if-end: ; preds = %itofp-entry
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/ExpandIRInsts/X86/expand-int-convert-small.ll:86:10: error: CHECK: expected string not found in input
# | ; CHECK: [[ITOFP_IF_END]]:
# | ^
# | <stdin>:87:62: note: scanning from here
# | br i1 %0, label %itofp-return, label %itofp-if-end, !prof !0
# | ^
# | <stdin>:87:62: note: with "ITOFP_IF_END" equal to "itofp-if-end, !prof !0"
# | br i1 %0, label %itofp-return, label %itofp-if-end, !prof !0
# | ^
# | <stdin>:89:13: note: possible intended match here
# | itofp-if-end: ; preds = %itofp-entry
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/ExpandIRInsts/X86/expand-int-convert-small.ll:161:10: error: CHECK: expected string not found in input
# | ; CHECK: [[ITOFP_IF_END]]:
# | ^
# | <stdin>:166:62: note: scanning from here
# | br i1 %2, label %itofp-return, label %itofp-if-end, !prof !0
# | ^
# | <stdin>:166:62: note: with "ITOFP_IF_END" equal to "itofp-if-end, !prof !0"
# | br i1 %2, label %itofp-return, label %itofp-if-end, !prof !0
# | ^
# | <stdin>:168:13: note: possible intended match here
# | itofp-if-end: ; preds = %itofp-entry
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/ExpandIRInsts/X86/expand-int-convert-small.ll:235:10: error: CHECK: expected string not found in input
# | ; CHECK: [[ITOFP_IF_END]]:
# | ^
# | <stdin>:244:62: note: scanning from here
# | br i1 %1, label %itofp-return, label %itofp-if-end, !prof !0
# | ^
# | <stdin>:244:62: note: with "ITOFP_IF_END" equal to "itofp-if-end, !prof !0"
# | br i1 %1, label %itofp-return, label %itofp-if-end, !prof !0
# | ^
# | <stdin>:246:13: note: possible intended match here
# | itofp-if-end: ; preds = %itofp-entry
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/ExpandIRInsts/X86/expand-int-convert-small.ll:310:10: error: CHECK: expected string not found in input
# | ; CHECK: [[ITOFP_IF_END]]:
# | ^
# | <stdin>:323:62: note: scanning from here
# | br i1 %2, label %itofp-return, label %itofp-if-end, !prof !0
# | ^
# | <stdin>:323:62: note: with "ITOFP_IF_END" equal to "itofp-if-end, !prof !0"
# | br i1 %2, label %itofp-return, label %itofp-if-end, !prof !0
# | ^
# | <stdin>:325:13: note: possible intended match here
# | itofp-if-end: ; preds = %itofp-entry
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/ExpandIRInsts/X86/expand-int-convert-small.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 5:
# | 6: define half @uitofp_i32_f16(i32 %x) {
# | 7: itofp-entry:
# | 8: %0 = freeze i32 %x
# | 9: %1 = icmp eq i32 %0, 0
# | 10: br i1 %1, label %itofp-return, label %itofp-if-end, !prof !0
# | check:13'0 X error: no match found
# | check:13'1 with "ITOFP_IF_END" equal to "itofp-if-end, !prof !0"
# | 11:
# | check:13'0 ~
# | 12: itofp-if-end: ; preds = %itofp-entry
# | check:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:13'2 ? possible intended match
# | 13: %2 = ashr i32 %0, 31
# | check:13'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 14: %3 = xor i32 %2, %0
# | check:13'0 ~~~~~~~~~~~~~~~~~~~~~
# | 15: %4 = sub i32 %3, %2
# | check:13'0 ~~~~~~~~~~~~~~~~~~~~~
# | 16: %5 = call i32 @llvm.ctlz.i32(i32 %0, i1 true)
# | check:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 17: %6 = sub i32 32, %5
# | check:13'0 ~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 82: }
# | check:13'0 ~~
# | 83:
# | check:13'0 ~
# | 84: define half @uitofp_i32_f16_noundef(i32 noundef %x) {
# | check:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 85: itofp-entry:
# | 86: %0 = icmp eq i32 %x, 0
# | 87: br i1 %0, label %itofp-return, label %itofp-if-end, !prof !0
# | check:86'0 X error: no match found
# | check:86'1 with "ITOFP_IF_END" equal to "itofp-if-end, !prof !0"
# | 88:
# | check:86'0 ~
# | 89: itofp-if-end: ; preds = %itofp-entry
# | check:86'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:86'2 ? possible intended match
# | 90: %1 = ashr i32 %x, 31
# | check:86'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 91: %2 = xor i32 %1, %x
# | check:86'0 ~~~~~~~~~~~~~~~~~~~~~
# | 92: %3 = sub i32 %2, %1
# | check:86'0 ~~~~~~~~~~~~~~~~~~~~~
# | 93: %4 = call i32 @llvm.ctlz.i32(i32 %x, i1 true)
# | check:86'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 94: %5 = sub i32 32, %4
# | check:86'0 ~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 161: define half @uitofp_i16_f16(i16 %x) {
# | check:86'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 162: itofp-entry:
# | 163: %0 = freeze i16 %x
# | 164: %1 = zext i16 %0 to i32
# | 165: %2 = icmp eq i32 %1, 0
# | 166: br i1 %2, label %itofp-return, label %itofp-if-end, !prof !0
# | check:161'0 X error: no match found
# | check:161'1 with "ITOFP_IF_END" equal to "itofp-if-end, !prof !0"
# | 167:
# | check:161'0 ~
# | 168: itofp-if-end: ; preds = %itofp-entry
# | check:161'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:161'2 ? possible intended match
# | 169: %3 = ashr i32 %1, 31
# | check:161'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 170: %4 = xor i32 %3, %1
# | check:161'0 ~~~~~~~~~~~~~~~~~~~~~
# | 171: %5 = sub i32 %4, %3
# | check:161'0 ~~~~~~~~~~~~~~~~~~~~~
# | 172: %6 = call i32 @llvm.ctlz.i32(i32 %1, i1 true)
# | check:161'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 173: %7 = sub i32 32, %6
# | check:161'0 ~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 239:
# | check:161'0 ~
# | 240: define half @sitofp_i32_f16(i32 %x) {
# | check:161'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 241: itofp-entry:
# | 242: %0 = freeze i32 %x
# | 243: %1 = icmp eq i32 %0, 0
# | 244: br i1 %1, label %itofp-return, label %itofp-if-end, !prof !0
# | check:235'0 X error: no match found
# | check:235'1 with "ITOFP_IF_END" equal to "itofp-if-end, !prof !0"
# | 245:
# | check:235'0 ~
# | 246: itofp-if-end: ; preds = %itofp-entry
# | check:235'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:235'2 ? possible intended match
# | 247: %2 = ashr i32 %0, 31
# | check:235'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 248: %3 = xor i32 %2, %0
# | check:235'0 ~~~~~~~~~~~~~~~~~~~~~
# | 249: %4 = sub i32 %3, %2
# | check:235'0 ~~~~~~~~~~~~~~~~~~~~~
# | 250: %5 = call i32 @llvm.ctlz.i32(i32 %4, i1 true)
# | check:235'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 251: %6 = sub i32 32, %5
# | check:235'0 ~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 318: define half @sitofp_i16_f16(i16 %x) {
# | check:235'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 319: itofp-entry:
# | 320: %0 = freeze i16 %x
# | 321: %1 = sext i16 %0 to i32
# | 322: %2 = icmp eq i32 %1, 0
# | 323: br i1 %2, label %itofp-return, label %itofp-if-end, !prof !0
# | check:310'0 X error: no match found
# | check:310'1 with "ITOFP_IF_END" equal to "itofp-if-end, !prof !0"
# | 324:
# | check:310'0 ~
# | 325: itofp-if-end: ; preds = %itofp-entry
# | check:310'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:310'2 ? possible intended match
# | 326: %3 = ashr i32 %1, 31
# | check:310'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 327: %4 = xor i32 %3, %1
# | check:310'0 ~~~~~~~~~~~~~~~~~~~~~
# | 328: %5 = sub i32 %4, %3
# | check:310'0 ~~~~~~~~~~~~~~~~~~~~~
# | 329: %6 = call i32 @llvm.ctlz.i32(i32 %5, i1 true)
# | check:310'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 330: %7 = sub i32 32, %6
# | check:310'0 ~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.Transforms/ExpandIRInsts/X86/expand-large-fp-convert-fptosi129.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -mtriple=x86_64-- --expand-ir-insts < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/ExpandIRInsts/X86/expand-large-fp-convert-fptosi129.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/ExpandIRInsts/X86/expand-large-fp-convert-fptosi129.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -mtriple=x86_64-- --expand-ir-insts
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt: <stdin>:21:1: error: expected instruction opcode
# | <<<<<<< HEAD
# | ^
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/ExpandIRInsts/X86/expand-large-fp-convert-fptosi129.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/ExpandIRInsts/X86/expand-large-fp-convert-fptosi129.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.Transforms/ExpandIRInsts/X86/expand-large-fp-convert-fptoui129.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -mtriple=x86_64-- --expand-ir-insts < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/ExpandIRInsts/X86/expand-large-fp-convert-fptoui129.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/ExpandIRInsts/X86/expand-large-fp-convert-fptoui129.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -mtriple=x86_64-- --expand-ir-insts
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt: <stdin>:18:1: error: expected instruction opcode
# | <<<<<<< HEAD
# | ^
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/ExpandIRInsts/X86/expand-large-fp-convert-fptoui129.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/ExpandIRInsts/X86/expand-large-fp-convert-fptoui129.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.Transforms/ExpandIRInsts/X86/expand-large-fp-convert-si129tofp.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -mtriple=x86_64-- --expand-ir-insts < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/ExpandIRInsts/X86/expand-large-fp-convert-si129tofp.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/ExpandIRInsts/X86/expand-large-fp-convert-si129tofp.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -mtriple=x86_64-- --expand-ir-insts
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt: <stdin>:8:1: error: expected instruction opcode
# | <<<<<<< HEAD
# | ^
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/ExpandIRInsts/X86/expand-large-fp-convert-si129tofp.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/ExpandIRInsts/X86/expand-large-fp-convert-si129tofp.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.Transforms/ExpandIRInsts/X86/expand-large-fp-convert-ui129tofp.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -mtriple=x86_64-- --expand-ir-insts < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/ExpandIRInsts/X86/expand-large-fp-convert-ui129tofp.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/ExpandIRInsts/X86/expand-large-fp-convert-ui129tofp.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -mtriple=x86_64-- --expand-ir-insts
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt: <stdin>:8:1: error: expected instruction opcode
# | <<<<<<< HEAD
# | ^
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/ExpandIRInsts/X86/expand-large-fp-convert-ui129tofp.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/ExpandIRInsts/X86/expand-large-fp-convert-ui129tofp.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.Transforms/ExpandIRInsts/X86/expand-large-fp-optnone.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -mtriple=x86_64-- --expand-ir-insts < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/ExpandIRInsts/X86/expand-large-fp-optnone.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/ExpandIRInsts/X86/expand-large-fp-optnone.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -mtriple=x86_64-- --expand-ir-insts
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt: <stdin>:12:1: error: expected instruction opcode
# | <<<<<<< HEAD
# | ^
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/ExpandIRInsts/X86/expand-large-fp-optnone.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/ExpandIRInsts/X86/expand-large-fp-optnone.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/180637
More information about the llvm-commits
mailing list