[Mlir-commits] [mlir] [mlir][x86vector] AVX Convert/Broadcast BF16 to F32 instructions (PR #135143)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Apr 22 07:06:25 PDT 2025


================
@@ -408,4 +408,110 @@ def DotOp : AVX_LowOp<"dot", [Pure,
   }];
 }
 
+
+//----------------------------------------------------------------------------//
+// AVX: Convert packed BF16 even-indexed/odd-indexed elements into packed F32
+//----------------------------------------------------------------------------//
+
+def CvtPackedEvenIndexedBF16ToF32Op : AVX_Op<"cvt.packed.even.indexed.bf16_to_f32", [Pure,
----------------
arun-thmn wrote:

Used `MemoryEffect<MemRed>` instead.

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


More information about the Mlir-commits mailing list