[Mlir-commits] [llvm] [mlir] [mlir][x86] Rename x86vector to x86 (PR #183311)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Feb 25 07:06:36 PST 2026
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r origin/main...HEAD mlir/python/mlir/dialects/transform/x86.py mlir/python/mlir/dialects/x86.py mlir/test/python/dialects/transform_x86_ext.py mlir/test/python/dialects/x86.py
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- test/python/dialects/x86.py 2026-02-25 14:28:02.000000 +0000
+++ test/python/dialects/x86.py 2026-02-25 15:05:59.803701 +0000
@@ -19,13 +19,11 @@
module = Module.create()
with InsertionPoint(module.body):
@func.FuncOp.from_py_func(MemRefType.get((1,), BF16Type.get()))
def avx_op(arg):
- return x86.BcstToPackedF32Op(
- a=arg, dst=VectorType.get((8,), F32Type.get())
- )
+ return x86.BcstToPackedF32Op(a=arg, dst=VectorType.get((8,), F32Type.get()))
# CHECK-LABEL: func @avx_op(
# CHECK-SAME: %[[ARG:.+]]: memref<1xbf16>) -> vector<8xf32> {
# CHECK: %[[VAL:.+]] = x86.avx.bcst_to_f32.packed %[[ARG]]
# CHECK: return %[[VAL]] : vector<8xf32>
``````````
</details>
https://github.com/llvm/llvm-project/pull/183311
More information about the Mlir-commits
mailing list