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

Krzysztof Drewniak llvmlistbot at llvm.org
Mon Apr 14 09:49:41 PDT 2025


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

I don't think these are restricted to signless values.

And also ... really, anything with a bitwidth is allowed.

I think we realistically want whatever the checks are for "can be in a vector" here

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


More information about the Mlir-commits mailing list