[llvm] [SPIRV] Add handling for `uinc_wrap` and `udec_wrap` atomics (PR #179114)

via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 1 07:54:49 PST 2026


github-actions[bot] wrote:

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

* 169066 tests passed
* 3020 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/SPIRV/llc-pipeline.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=spirv-- -disable-verify -debug-pass=Structure < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llc-pipeline.ll 2>&1    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -match-full-lines -strict-whitespace -check-prefix=SPIRV-O0 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llc-pipeline.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -mtriple=spirv-- -disable-verify -debug-pass=Structure
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -match-full-lines -strict-whitespace -check-prefix=SPIRV-O0 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llc-pipeline.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llc-pipeline.ll:27:17: error: SPIRV-O0-NEXT: is not on the line after the previous match
# | ; SPIRV-O0-NEXT:      Lower Garbage Collection Instructions
# |                 ^
# | <stdin>:17:1: note: 'next' match was here
# |       Lower Garbage Collection Instructions
# | ^
# | <stdin>:15:29: note: previous match ended here
# |       Expand IR instructions
# |                             ^
# | <stdin>:16:1: note: non-matching line after previous match is here
# |       Expand Atomic instructions
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llc-pipeline.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |          .
# |          .
# |          .
# |         12:   ModulePass Manager 
# |         13:     Pre-ISel Intrinsic Lowering 
# |         14:     FunctionPass Manager 
# |         15:       Expand IR instructions 
# |         16:       Expand Atomic instructions 
# |         17:       Lower Garbage Collection Instructions 
# | next:27     !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |         18:       Shadow Stack GC Lowering 
# |         19:       Remove unreachable blocks from the CFG 
# |         20:       Instrument function entry/exit with calls to e.g. mcount() (post inlining) 
# |         21:       Scalarize Masked Memory Intrinsics 
# |         22:       Expand reduction intrinsics 
# |          .
# |          .
# |          .
# | >>>>>>
# `-----------------------------
# 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/179114


More information about the llvm-commits mailing list