[Mlir-commits] [mlir] [mlir] Graceful handling of non-multiple bit widths for AMDGPU swizzle bitmode lowering (PR #183580)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Feb 26 09:59:09 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 7534 tests passed
* 601 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### MLIR
<details>
<summary>MLIR.Conversion/AMDGPUToROCDL/swizzle.mlir</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt -convert-amdgpu-to-rocdl --canonicalize /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Conversion/AMDGPUToROCDL/swizzle.mlir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Conversion/AMDGPUToROCDL/swizzle.mlir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt -convert-amdgpu-to-rocdl --canonicalize /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Conversion/AMDGPUToROCDL/swizzle.mlir
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Conversion/AMDGPUToROCDL/swizzle.mlir:35:8: error: failed to legalize operation 'amdgpu.swizzle_bitmode' that was explicitly marked illegal
# | %0 = amdgpu.swizzle_bitmode %arg0 1 2 4 : f16
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Conversion/AMDGPUToROCDL/swizzle.mlir:35:8: note: see current operation: %0 = "amdgpu.swizzle_bitmode"(%arg0) <{and_mask = 1 : i32, or_mask = 2 : i32, xor_mask = 4 : i32}> : (f16) -> f16
# `-----------------------------
# 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/mlir/test/Conversion/AMDGPUToROCDL/swizzle.mlir
# .---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/mlir/test/Conversion/AMDGPUToROCDL/swizzle.mlir
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>MLIR.Dialect/AMDGPU/conversion_invalid.mlir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Dialect/AMDGPU/conversion_invalid.mlir -split-input-file --convert-amdgpu-to-rocdl 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Dialect/AMDGPU/conversion_invalid.mlir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Dialect/AMDGPU/conversion_invalid.mlir -split-input-file --convert-amdgpu-to-rocdl
# note: command had no output on stdout or stderr
# 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/mlir/test/Dialect/AMDGPU/conversion_invalid.mlir
# note: command had no output on stdout or stderr
--
```
</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/183580
More information about the Mlir-commits
mailing list