[llvm] [AsmPrinter] Renumber basic blocks before printing (PR #186688)

via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 15 11:48:52 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 171280 tests passed
* 3045 tests skipped
* 7 tests failed

## Failed Tests
(click on a test name to see its output)

### LLVM
<details>
<summary>LLVM.CodeGen/SPIRV/const-array-gep.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -mtriple=spirv64-unknown-unknown < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/const-array-gep.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/const-array-gep.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -mtriple=spirv64-unknown-unknown
# 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/CodeGen/SPIRV/const-array-gep.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/const-array-gep.ll:8:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: %17 = OpLabel
# |               ^
# | <stdin>:22:61: note: scanning from here
# |  %12 = OpFunction %3 None %4 ; -- Begin function _Z6kernelPi
# |                                                             ^
# | <stdin>:23:2: note: possible intended match here
# |  %2 = OpLabel
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/const-array-gep.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           .
# |           .
# |           .
# |          17:  %7 = OpTypeInt 8 0 
# |          18:  %8 = OpTypePointer Generic %7 
# |          19:  %9 = OpTypeInt 64 0 
# |          20:  %10 = OpConstant %9 1 
# |          21:  %11 = OpConstantNull %8 
# |          22:  %12 = OpFunction %3 None %4 ; -- Begin function _Z6kernelPi 
# | next:8'0                                                                 X error: no match found
# |          23:  %2 = OpLabel 
# | next:8'0     ~~~~~~~~~~~~~~
# | next:8'1      ?             possible intended match
# |          24:  %13 = OpBitcast %6 %11 
# | next:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |          25:  %14 = OpInBoundsPtrAccessChain %6 %13 %10 
# | next:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          26:  %15 = OpConvertPtrToU %5 %14 
# | next:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          27:  %16 = OpBitcast %6 %11 
# | next:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |          28:  OpStore %16 %15 Aligned 4 
# | next:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           .
# |           .
# |           .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/SPIRV/pointers/structured-buffer-access.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -verify-machineinstrs -O3 -mtriple=spirv1.6-unknown-vulkan1.3-compute /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/pointers/structured-buffer-access.ll -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/pointers/structured-buffer-access.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -verify-machineinstrs -O3 -mtriple=spirv1.6-unknown-vulkan1.3-compute /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/pointers/structured-buffer-access.ll -o -
# 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/CodeGen/SPIRV/pointers/structured-buffer-access.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/pointers/structured-buffer-access.ll:32:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: %56 = OpLabel
# |               ^
# | <stdin>:75:54: note: scanning from here
# |  %42 = OpFunction %2 None %3 ; -- Begin function main
# |                                                      ^
# | <stdin>:76:2: note: possible intended match here
# |  %1 = OpLabel
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/pointers/structured-buffer-access.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |           70:  %37 = OpConstantComposite %24 %36 %35 %34 
# |           71:  %38 = OpConstantComposite %22 %33 %32 %31 %34 
# |           72:  %39 = OpVariable %19 StorageBuffer  
# |           73:  %40 = OpVariable %16 StorageBuffer  
# |           74:  %41 = OpVariable %29 Input  
# |           75:  %42 = OpFunction %2 None %3 ; -- Begin function main 
# | next:32'0                                                          X error: no match found
# |           76:  %1 = OpLabel 
# | next:32'0     ~~~~~~~~~~~~~~
# | next:32'1      ?             possible intended match
# |           77:  %43 = OpVariable %27 Function %37 
# | next:32'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           78:  %44 = OpVariable %26 Function %38 
# | next:32'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           79:  %45 = OpCopyObject %19 %39 
# | next:32'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           80:  %46 = OpCopyObject %16 %40 
# | next:32'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           81:  %47 = OpLoad %4 %41  
# | next:32'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/SPIRV/pointers/structured-buffer-vector-access.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -verify-machineinstrs -O3 -mtriple=spirv1.6-unknown-vulkan1.3-compute /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/pointers/structured-buffer-vector-access.ll -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/pointers/structured-buffer-vector-access.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -verify-machineinstrs -O3 -mtriple=spirv1.6-unknown-vulkan1.3-compute /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/pointers/structured-buffer-vector-access.ll -o -
# 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/CodeGen/SPIRV/pointers/structured-buffer-vector-access.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/pointers/structured-buffer-vector-access.ll:19:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: %43 = OpLabel
# |               ^
# | <stdin>:57:54: note: scanning from here
# |  %33 = OpFunction %2 None %3 ; -- Begin function main
# |                                                      ^
# | <stdin>:58:2: note: possible intended match here
# |  %1 = OpLabel
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/pointers/structured-buffer-vector-access.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |           52:  %28 = OpConstant %13 73 
# |           53:  %29 = OpConstantComposite %17 %28 %27 %26 
# |           54:  %30 = OpConstantComposite %15 %25 %24 %23 %26 
# |           55:  %31 = OpVariable %12 StorageBuffer  
# |           56:  %32 = OpVariable %10 StorageBuffer  
# |           57:  %33 = OpFunction %2 None %3 ; -- Begin function main 
# | next:19'0                                                          X error: no match found
# |           58:  %1 = OpLabel 
# | next:19'0     ~~~~~~~~~~~~~~
# | next:19'1      ?             possible intended match
# |           59:  %34 = OpVariable %20 Function %29 
# | next:19'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           60:  %35 = OpVariable %19 Function %30 
# | next:19'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           61:  %36 = OpCopyObject %12 %31 
# | next:19'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           62:  %37 = OpCopyObject %10 %32 
# | next:19'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           63:  %38 = OpAccessChain %7 %36 %21 %21 
# | next:19'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.DebugInfo/COFF/pieces.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/COFF/pieces.ll -experimental-debug-variable-locations=true | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/COFF/pieces.ll --check-prefix=ASM
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -experimental-debug-variable-locations=true
# 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/DebugInfo/COFF/pieces.ll --check-prefix=ASM
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/COFF/pieces.ll:40:8: error: ASM: expected string not found in input
# | ; ASM: # %bb.2: # %for.body.preheader
# |        ^
# | <stdin>:32:59: note: scanning from here
# |  #DEBUG_VALUE: loop_csr:o <- [DW_OP_LLVM_fragment 32 32] 0
# |                                                           ^
# | <stdin>:43:1: note: possible intended match here
# | # %bb.1: # %for.body.preheader
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/COFF/pieces.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            27:  subq $40, %rsp 
# |            28:  .seh_stackalloc 40 
# |            29:  .seh_endprologue 
# |            30: .Ltmp0: 
# |            31:  #DEBUG_VALUE: loop_csr:o <- [DW_OP_LLVM_fragment 0 32] 0 
# |            32:  #DEBUG_VALUE: loop_csr:o <- [DW_OP_LLVM_fragment 32 32] 0 
# | check:40'0                                                               X error: no match found
# |            33:  #DEBUG_VALUE: loop_csr:o <- [DW_OP_LLVM_fragment 0 32] 0 
# | check:40'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            34:  #DEBUG_VALUE: loop_csr:o <- [DW_OP_LLVM_fragment 32 32] 0 
# | check:40'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            35:  .cv_loc 0 1 12 23 # t.c:12:23 
# | check:40'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            36:  movl $0, i(%rip) 
# | check:40'0     ~~~~~~~~~~~~~~~~~~
# |            37:  .cv_loc 0 1 12 17 # t.c:12:17 
# | check:40'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            38:  cmpl $0, n(%rip) 
# | check:40'0     ~~~~~~~~~~~~~~~~~~
# |            39: .Ltmp1: 
# | check:40'0     ~~~~~~~~
# |            40:  .cv_loc 0 1 12 3 # t.c:12:3 
# | check:40'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            41:  jle .LBB0_3 
# | check:40'0     ~~~~~~~~~~~~~
# |            42: .Ltmp2: 
# | check:40'0     ~~~~~~~~
# |            43: # %bb.1: # %for.body.preheader 
# | check:40'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:40'1     ?                               possible intended match
# |            44:  #DEBUG_VALUE: loop_csr:o <- [DW_OP_LLVM_fragment 0 32] 0 
# | check:40'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            45:  #DEBUG_VALUE: loop_csr:o <- [DW_OP_LLVM_fragment 32 32] 0 
# | check:40'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            46:  xorl %edi, %edi 
# | check:40'0     ~~~~~~~~~~~~~~~~~
# |            47:  xorl %esi, %esi 
# | check:40'0     ~~~~~~~~~~~~~~~~~
# |            48: .Ltmp3: 
# | check:40'0     ~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.DebugInfo/X86/dbg-value-transfer-order.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/X86/dbg-value-transfer-order.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/X86/dbg-value-transfer-order.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc
# 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/DebugInfo/X86/dbg-value-transfer-order.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/X86/dbg-value-transfer-order.ll:27:10: error: CHECK: expected string not found in input
# | ; CHECK: .LBB0_4:
# |          ^
# | <stdin>:16:8: note: scanning from here
# | f: # @f
# |        ^
# | <stdin>:42:1: note: possible intended match here
# | .LBB0_2: # %if.end
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/X86/dbg-value-transfer-order.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            11:  .type 32; 
# |            12:  .endef 
# |            13:  .text 
# |            14:  .globl f # -- Begin function f 
# |            15:  .p2align 4 
# |            16: f: # @f 
# | check:27'0            X error: no match found
# |            17: .Lfunc_begin0: 
# | check:27'0     ~~~~~~~~~~~~~~~
# |            18:  .cv_func_id 0 
# | check:27'0     ~~~~~~~~~~~~~~~
# |            19:  .cv_file 1 "C:\\src\\llvm-project\\build\\t.c" "F80D0003FAF76554DFDEC6C95DA285CC" 1 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            20:  .cv_loc 0 1 4 0 # t.c:4:0 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            21: .seh_proc f 
# | check:27'0     ~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |            37: # %bb.1: # %while.body.preheader 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            38:  movq %rdx, %rsi 
# | check:27'0     ~~~~~~~~~~~~~~~~~
# |            39:  movl %ecx, %edi 
# | check:27'0     ~~~~~~~~~~~~~~~~~
# |            40:  jmp .LBB0_3 
# | check:27'0     ~~~~~~~~~~~~~
# |            41:  .p2align 4 
# | check:27'0     ~~~~~~~~~~~~
# |            42: .LBB0_2: # %if.end 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~
# | check:27'1     ?                   possible intended match
# |            43:  # in Loop: Header=BB0_3 Depth=1 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            44: .Ltmp0: 
# | check:27'0     ~~~~~~~~
# |            45:  #DEBUG_VALUE: bit_offset <- $ecx 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            46:  .cv_loc 0 1 8 28 # t.c:8:28 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            47:  movl $1, %eax 
# | check:27'0     ~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.tools/UpdateTestChecks/update_llc_test_checks/lanai_generated_funcs.test</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
cp -f /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/lanai_generated_funcs.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/lanai_generated_funcs.test.tmp.ll && '/usr/bin/python3' /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/update_llc_test_checks.py --llc-binary /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --version=1 --include-generated-funcs /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/lanai_generated_funcs.test.tmp.ll
# executed command: cp -f /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/lanai_generated_funcs.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/lanai_generated_funcs.test.tmp.ll
# note: command had no output on stdout or stderr
# executed command: /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/update_llc_test_checks.py --llc-binary /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --version=1 --include-generated-funcs /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/lanai_generated_funcs.test.tmp.ll
# note: command had no output on stdout or stderr
# RUN: at line 5
diff -u /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/lanai_generated_funcs.test.tmp.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/lanai_generated_funcs.ll.generated.expected
# executed command: diff -u /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/lanai_generated_funcs.test.tmp.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/lanai_generated_funcs.ll.generated.expected
# .---command stdout------------
# | --- /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/lanai_generated_funcs.test.tmp.ll
# | +++ /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/lanai_generated_funcs.ll.generated.expected
# | @@ -75,12 +75,12 @@
# |  ; CHECK-NEXT:    st %r0, -12[%fp]
# |  ; CHECK-NEXT:    sub.f %r0, 0x0, %r0
# |  ; CHECK-NEXT:    st %r0, -16[%fp]
# | -; CHECK-NEXT:    beq .LBB0_2
# | +; CHECK-NEXT:    beq .LBB0_1
# |  ; CHECK-NEXT:    mov 0x1, %r3
# | -; CHECK-NEXT:  .LBB0_1:
# | +; CHECK-NEXT:  .LBB0_2:
# |  ; CHECK-NEXT:    bt .LBB0_3
# |  ; CHECK-NEXT:    st %r3, -24[%fp]
# | -; CHECK-NEXT:  .LBB0_2:
# | +; CHECK-NEXT:  .LBB0_1:
# |  ; CHECK-NEXT:    st %r3, -16[%fp]
# |  ; CHECK-NEXT:    mov 0x2, %r3
# |  ; CHECK-NEXT:    st %r3, -20[%fp]
# | @@ -91,13 +91,13 @@
# |  ; CHECK-NEXT:  .LBB0_3:
# |  ; CHECK-NEXT:    ld -16[%fp], %r3
# |  ; CHECK-NEXT:    sub.f %r3, 0x0, %r0
# | -; CHECK-NEXT:    beq .LBB0_5
# | +; CHECK-NEXT:    beq .LBB0_4
# |  ; CHECK-NEXT:    nop
# | -; CHECK-NEXT:  .LBB0_4:
# | +; CHECK-NEXT:  .LBB0_5:
# |  ; CHECK-NEXT:    mov 0x1, %r3
# |  ; CHECK-NEXT:    bt .LBB0_6
# |  ; CHECK-NEXT:    st %r3, -24[%fp]
# | -; CHECK-NEXT:  .LBB0_5:
# | +; CHECK-NEXT:  .LBB0_4:
# |  ; CHECK-NEXT:    mov 0x1, %r3
# |  ; CHECK-NEXT:    st %r3, -16[%fp]
# |  ; CHECK-NEXT:    mov 0x2, %r3
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.tools/UpdateTestChecks/update_llc_test_checks/x86_generated_funcs.test</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
cp -f /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86_generated_funcs.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/x86_generated_funcs.test.tmp.ll && '/usr/bin/python3' /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/update_llc_test_checks.py --llc-binary /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --version=1 --include-generated-funcs /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/x86_generated_funcs.test.tmp.ll
# executed command: cp -f /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86_generated_funcs.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/x86_generated_funcs.test.tmp.ll
# note: command had no output on stdout or stderr
# executed command: /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/update_llc_test_checks.py --llc-binary /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --version=1 --include-generated-funcs /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/x86_generated_funcs.test.tmp.ll
# note: command had no output on stdout or stderr
# RUN: at line 5
diff -u /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/x86_generated_funcs.test.tmp.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86_generated_funcs.ll.generated.expected
# executed command: diff -u /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/x86_generated_funcs.test.tmp.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86_generated_funcs.ll.generated.expected
# .---command stdout------------
# | --- /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/x86_generated_funcs.test.tmp.ll
# | +++ /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86_generated_funcs.ll.generated.expected
# | @@ -74,21 +74,21 @@
# |  ; CHECK-NEXT:    movl $0, -8(%rbp)
# |  ; CHECK-NEXT:    xorl %eax, %eax
# |  ; CHECK-NEXT:    testb %al, %al
# | -; CHECK-NEXT:    je .LBB0_3
# | -; CHECK-NEXT:  # %bb.1:
# | +; CHECK-NEXT:    je .LBB0_1
# | +; CHECK-NEXT:  # %bb.2:
# |  ; CHECK-NEXT:    movl $1, -4(%rbp)
# |  ; CHECK-NEXT:    cmpl $0, -8(%rbp)
# |  ; CHECK-NEXT:    je .LBB0_4
# | -; CHECK-NEXT:  .LBB0_2:
# | +; CHECK-NEXT:  .LBB0_5:
# |  ; CHECK-NEXT:    movl $1, -4(%rbp)
# | -; CHECK-NEXT:    jmp .LBB0_5
# | -; CHECK-NEXT:  .LBB0_3:
# | +; CHECK-NEXT:    jmp .LBB0_6
# | +; CHECK-NEXT:  .LBB0_1:
# |  ; CHECK-NEXT:    callq OUTLINED_FUNCTION_0
# |  ; CHECK-NEXT:    cmpl $0, -8(%rbp)
# | -; CHECK-NEXT:    jne .LBB0_2
# | +; CHECK-NEXT:    jne .LBB0_5
# |  ; CHECK-NEXT:  .LBB0_4:
# |  ; CHECK-NEXT:    callq OUTLINED_FUNCTION_0
# | -; CHECK-NEXT:  .LBB0_5:
# | +; CHECK-NEXT:  .LBB0_6:
# |  ; CHECK-NEXT:    xorl %eax, %eax
# |  ; CHECK-NEXT:    addq $20, %rsp
# |  ; CHECK-NEXT:    popq %rbp
# `-----------------------------
# error: command failed with exit status: 1

--

```
</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/186688


More information about the llvm-commits mailing list