[Mlir-commits] [mlir] [MLIR][GPUToXeVMPipeline] Expand MX scaling ops before XeVM conversion (PR #203632)
Jianhui Li
llvmlistbot at llvm.org
Fri Jun 12 20:24:34 PDT 2026
================
@@ -100,6 +100,19 @@ void buildGPUPassPipeline(OpPassManager &pm,
pm.addNestedPass<gpu::GPUModuleOp>(createCanonicalizerPass());
pm.addNestedPass<gpu::GPUModuleOp>(createCSEPass());
}
+ // Break down high-level micro-scaling (MX) ops (arith.scaling_extf and
+ // arith.scaling_truncf) into standard arith ops (extf/truncf + mulf), and
+ // expand extf/truncf on f8E8M0FNU into integer bit manipulation. This runs
+ // before the XeVM/LLVM conversions. The f4E2M1FN expansion patterns are
+ // intentionally left disabled: f4E2M1FN extf/truncf are lowered by the XeVM
+ // conversions (xevm.extf), whereas f8E8M0FNU is not supported there and so
----------------
Jianhui-Li wrote:
what is the reason that f8E8M0FNU is not supported by XeVM conversion?
https://github.com/llvm/llvm-project/pull/203632
More information about the Mlir-commits
mailing list