[llvm] [ARM] Enable switch cond settings to SimplifyCFGOptions (PR #196675)

via llvm-commits llvm-commits at lists.llvm.org
Fri May 8 19:05:02 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 134473 tests passed
* 3257 tests skipped
* 2 tests failed

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

### LLVM
<details>
<summary>LLVM.DebugInfo/ARM/partial-subreg.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\ARM\partial-subreg.ll -filetype=obj -o - | c:\_work\llvm-project\llvm-project\build\bin\llvm-dwarfdump.exe -v - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\ARM\partial-subreg.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\ARM\partial-subreg.ll' -filetype=obj -o -
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-dwarfdump.exe' -v -
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\ARM\partial-subreg.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\ARM\partial-subreg.ll:12:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [0x{{.*}}, 0x{{.*}}): DW_OP_regx D16, DW_OP_piece 0x8, DW_OP_regx D17, DW_OP_piece 0x4
# |               ^
# | <stdin>:78:51: note: scanning from here
# |  DW_AT_location [DW_FORM_sec_offset] (0x00000000: 
# |                                                   ^
# | <stdin>:94:32: note: possible intended match here
# |  (0x00000010, 0x00000014): DW_OP_piece 0xc, DW_OP_regx D16, DW_OP_piece 0x8, DW_OP_regx D17, DW_OP_piece 0x4
# |                                ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\ARM\partial-subreg.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |           73:  DW_AT_external [DW_FORM_flag_present] (true) 
# |           74:  DW_AT_APPLE_optimized [DW_FORM_flag_present] (true) 
# |           75:  DW_AT_APPLE_isa [DW_FORM_flag] (0x02) 
# |           76:  
# |           77: 0x0000004a: DW_TAG_formal_parameter [4] (0x00000036) 
# |           78:  DW_AT_location [DW_FORM_sec_offset] (0x00000000:  
# | next:12'0                                                       X error: no match found
# |           79:  [0x00000010, 0x00000014): DW_OP_piece 0xc, DW_OP_regx D16, DW_OP_piece 0x8, DW_OP_regx D17, DW_OP_piece 0x4) 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           80:  DW_AT_name [DW_FORM_strp] ( .debug_str[0x00000068] = "self") 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           81:  DW_AT_decl_file [DW_FORM_data1] ("/simd.swift") 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           82:  DW_AT_decl_line [DW_FORM_data2] (5897) 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           83:  DW_AT_type [DW_FORM_ref4] (cu + 0x0027 => {0x00000027} "float2x3") 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# |           89:  
# | next:12'0     ~
# |           90: 0x0000005c: NULL 
# | next:12'0     ~~~~~~~~~~~~~~~~~
# |           91:  
# | next:12'0     ~
# |           92: .debug_loc contents: 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~
# |           93: 0x00000000:  
# | next:12'0     ~~~~~~~~~~~~~
# |           94:  (0x00000010, 0x00000014): DW_OP_piece 0xc, DW_OP_regx D16, DW_OP_piece 0x8, DW_OP_regx D17, DW_OP_piece 0x4 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:12'1                                    ?                                                                              possible intended match
# |           95:  
# | next:12'0     ~
# |           96: .debug_line contents: 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           97: debug_line[0x00000000] 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~
# |           98: Line table prologue: 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~
# |           99:  total_length: 0x00000048 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.MC/ARM/data-in-code.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -verify-machineinstrs    -mtriple=armv7-linux-gnueabi -filetype=obj C:\_work\llvm-project\llvm-project\llvm\test\MC\ARM\data-in-code.ll -o - |    c:\_work\llvm-project\llvm-project\build\bin\llvm-readobj.exe --symbols - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=ARM C:\_work\llvm-project\llvm-project\llvm\test\MC\ARM\data-in-code.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -verify-machineinstrs -mtriple=armv7-linux-gnueabi -filetype=obj 'C:\_work\llvm-project\llvm-project\llvm\test\MC\ARM\data-in-code.ll' -o -
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-readobj.exe' --symbols -
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=ARM 'C:\_work\llvm-project\llvm-project\llvm\test\MC\ARM\data-in-code.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\MC\ARM\data-in-code.ll:46:9: error: ARM: expected string not found in input
# | ;; ARM: Name: $d
# |         ^
# | <stdin>:44:10: note: scanning from here
# |  Symbol {
# |          ^
# | <stdin>:45:2: note: possible intended match here
# |  Name: foo (38)
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\MC\ARM\data-in-code.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            39:  Binding: Local (0x0) 
# |            40:  Type: None (0x0) 
# |            41:  Other: 0 
# |            42:  Section: .text (0x2) 
# |            43:  } 
# |            44:  Symbol { 
# | check:46'0              X error: no match found
# |            45:  Name: foo (38) 
# | check:46'0     ~~~~~~~~~~~~~~~~
# | check:46'1      ?               possible intended match
# |            46:  Value: 0x0 
# | check:46'0     ~~~~~~~~~~~~
# |            47:  Size: 56 
# | check:46'0     ~~~~~~~~~~
# |            48:  Binding: Global (0x1) 
# | check:46'0     ~~~~~~~~~~~~~~~~~~~~~~~
# |            49:  Type: Function (0x2) 
# | check:46'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            50:  Other: 0 
# | check:46'0     ~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# 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/196675


More information about the llvm-commits mailing list