[Mlir-commits] [mlir] [mlir][amdgpu] Add `amdgpu.swizzle_bitmode` op (PR #135513)

Ivan Butygin llvmlistbot at llvm.org
Tue Apr 15 23:12:44 PDT 2025


================
@@ -35,6 +35,11 @@ def AMDGPU_Dialect : Dialect {
   let useDefaultAttributePrinterParser = 1;
 }
 
+def AnyIntegerOrFloat : AnyTypeOf<[AnySignlessInteger, AnyFloat], "Integer or Float">;
----------------
Hardcode84 wrote:

I copypasted this check from the `gpu.shuffle`, non-signless ints are not very useful in such a low level dialect and all arith/llvm ops (which I will use for repacking) expecting signless anyway, so I won't be able to do anything with them.

https://github.com/llvm/llvm-project/pull/135513


More information about the Mlir-commits mailing list