[Mlir-commits] [mlir] [MLIR][XeGPU] Distribute `vector.step` with sliced layout (PR #182010)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Feb 19 11:07:39 PST 2026


github-actions[bot] wrote:

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

The build failed before running any tests. Click on a failure below to see the details.

<details>
<summary>tools/mlir/lib/Dialect/XeGPU/Transforms/CMakeFiles/obj.MLIRXeGPUTransforms.dir/XeGPUSubgroupDistribute.cpp.o</summary>

```
FAILED: tools/mlir/lib/Dialect/XeGPU/Transforms/CMakeFiles/obj.MLIRXeGPUTransforms.dir/XeGPUSubgroupDistribute.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/lib/Dialect/XeGPU/Transforms -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Dialect/XeGPU/Transforms -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -Werror=global-constructors -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/mlir/lib/Dialect/XeGPU/Transforms/CMakeFiles/obj.MLIRXeGPUTransforms.dir/XeGPUSubgroupDistribute.cpp.o -MF tools/mlir/lib/Dialect/XeGPU/Transforms/CMakeFiles/obj.MLIRXeGPUTransforms.dir/XeGPUSubgroupDistribute.cpp.o.d -o tools/mlir/lib/Dialect/XeGPU/Transforms/CMakeFiles/obj.MLIRXeGPUTransforms.dir/XeGPUSubgroupDistribute.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Dialect/XeGPU/Transforms/XeGPUSubgroupDistribute.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Dialect/XeGPU/Transforms/XeGPUSubgroupDistribute.cpp:2048:32: error: 'create' is deprecated: Use OpTy::create instead [-Werror,-Wdeprecated-declarations]
2048 |         auto offset = rewriter.create<arith::ConstantIndexOp>(loc, i);
|                                ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/Builders.h:508:8: note: 'create' has been explicitly marked deprecated here
508 |   OpTy create(Location location, Args &&...args) {
|        ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Dialect/XeGPU/Transforms/XeGPUSubgroupDistribute.cpp:2048:32: error: 'create<mlir::arith::ConstantIndexOp, int &>' is deprecated: Use OpTy::create instead [-Werror,-Wdeprecated-declarations]
2048 |         auto offset = rewriter.create<arith::ConstantIndexOp>(loc, i);
|                                ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/Builders.h:507:5: note: 'create<mlir::arith::ConstantIndexOp, int &>' has been explicitly marked deprecated here
507 |   [[deprecated("Use OpTy::create instead")]]
|     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Dialect/XeGPU/Transforms/XeGPUSubgroupDistribute.cpp:2049:39: error: 'create' is deprecated: Use OpTy::create instead [-Werror,-Wdeprecated-declarations]
2049 |         stepOpVals.push_back(rewriter.create<arith::AddIOp>(
|                                       ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/Builders.h:508:8: note: 'create' has been explicitly marked deprecated here
508 |   OpTy create(Location location, Args &&...args) {
|        ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Dialect/XeGPU/Transforms/XeGPUSubgroupDistribute.cpp:2049:39: error: 'create<mlir::arith::AddIOp, mlir::Value &, mlir::arith::ConstantIndexOp &>' is deprecated: Use OpTy::create instead [-Werror,-Wdeprecated-declarations]
2049 |         stepOpVals.push_back(rewriter.create<arith::AddIOp>(
|                                       ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/Builders.h:507:5: note: 'create<mlir::arith::AddIOp, mlir::Value &, mlir::arith::ConstantIndexOp &>' has been explicitly marked deprecated here
507 |   [[deprecated("Use OpTy::create instead")]]
|     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Dialect/XeGPU/Transforms/XeGPUSubgroupDistribute.cpp:2034:42: error: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'long' [-Werror,-Wsign-compare]
2034 |     assert(laneDataBlockCoordsVec.size() ==
|            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
2035 |            newVecTy.getNumElements() / laneDataBlockLength);
|            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/assert.h:103:27: note: expanded from macro 'assert'
103 |      (static_cast <bool> (expr)                                         \
|                           ^~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Dialect/XeGPU/Transforms/XeGPUSubgroupDistribute.cpp:2043:45: error: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Werror,-Wsign-compare]
2043 |     for (int laneBlockIdx = 0; laneBlockIdx < laneDataBlockCoordsVec.size();
|                                ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Dialect/XeGPU/Transforms/XeGPUSubgroupDistribute.cpp:2053:30: error: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int64_t' (aka 'long') [-Werror,-Wsign-compare]
2053 |     assert(stepOpVals.size() == newVecTy.getNumElements() &&
|            ~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/assert.h:103:27: note: expanded from macro 'assert'
103 |      (static_cast <bool> (expr)                                         \
|                           ^~~~
7 errors generated.
```
</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/182010


More information about the Mlir-commits mailing list