[llvm] [Support] Move UndefPoisonKind enum to a shared header (PR #195523)

via llvm-commits llvm-commits at lists.llvm.org
Mon May 4 12:47:04 PDT 2026


github-actions[bot] wrote:

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

* 134181 tests passed
* 3224 tests skipped
* 1 test failed

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

### MLIR
<details>
<summary>MLIR.Target/LLVMIR/llvmir-debug.mlir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\mlir-translate.exe -mlir-to-llvmir --split-input-file C:\_work\llvm-project\llvm-project\mlir\test\Target\LLVMIR\llvmir-debug.mlir | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\mlir\test\Target\LLVMIR\llvmir-debug.mlir --check-prefixes=CHECK,RECORDS
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\mlir-translate.exe' -mlir-to-llvmir --split-input-file 'C:\_work\llvm-project\llvm-project\mlir\test\Target\LLVMIR\llvmir-debug.mlir'
# .---command stderr------------
# | DISubprogram requires a non-null type
# | !3 = distinct !DISubprogram(name: "variant_part_emission", scope: !1, file: !1, spFlags: DISPFlagDefinition, unit: !0)
# `-----------------------------
# error: command failed with exit status: 1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\mlir\test\Target\LLVMIR\llvmir-debug.mlir' --check-prefixes=CHECK,RECORDS
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\mlir\test\Target\LLVMIR\llvmir-debug.mlir:837:17: error: CHECK-LABEL: expected string not found in input
# | // CHECK-LABEL: define void @variant_part_emission
# |                 ^
# | <stdin>:507:34: note: scanning from here
# | define void @fn_cu_import_cycle() !dbg !6 {
# |                                  ^
# | <stdin>:514:89: note: possible intended match here
# | !0 = distinct !DICompileUnit(language: DW_LANG_C, file: !1, producer: "p", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, imports: !2)
# |                                                                                         ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\mlir\test\Target\LLVMIR\llvmir-debug.mlir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            502: !9 = !DILocation(line: 22, column: 3, scope: !6) 
# |            503:  
# |            504: ; ModuleID = 'LLVMDialectModule' 
# |            505: source_filename = "LLVMDialectModule" 
# |            506:  
# |            507: define void @fn_cu_import_cycle() !dbg !6 { 
# | label:837'0                                      X~~~~~~~~~~ error: no match found
# |            508:  ret void, !dbg !9 
# | label:837'0     ~~~~~~~~~~~~~~~~~~~
# |            509: } 
# | label:837'0     ~~
# |            510:  
# | label:837'0     ~
# |            511: !llvm.dbg.cu = !{!0} 
# | label:837'0     ~~~~~~~~~~~~~~~~~~~~~
# |            512: !llvm.module.flags = !{!5} 
# | label:837'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            513:  
# | label:837'0     ~
# |            514: !0 = distinct !DICompileUnit(language: DW_LANG_C, file: !1, producer: "p", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, imports: !2) 
# | label:837'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:837'1                                                                                             ?                                                                possible intended match
# |            515: !1 = !DIFile(filename: "m.cpp", directory: "/") 
# | label:837'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            516: !2 = !{!3} 
# | label:837'0     ~~~~~~~~~~~
# |            517: !3 = !DIImportedEntity(tag: DW_TAG_imported_module, scope: !0, entity: !4, file: !1) 
# | label:837'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            518: !4 = !DINamespace(name: "n", scope: null) 
# | label:837'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            519: !5 = !{i32 2, !"Debug Info Version", i32 3} 
# | label:837'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/195523


More information about the llvm-commits mailing list