[all-commits] [llvm/llvm-project] fbbffc: [MLIR][ROCDL] Add math.clampf -> rocdl.fmed3 conve...
Keshav Vinayak Jha via All-commits
all-commits at lists.llvm.org
Fri Oct 17 05:15:21 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fbbffc11690c0f47bdc74939b290696df4c1c061
https://github.com/llvm/llvm-project/commit/fbbffc11690c0f47bdc74939b290696df4c1c061
Author: Keshav Vinayak Jha <31160700+keshavvinayak01 at users.noreply.github.com>
Date: 2025-10-17 (Fri, 17 Oct 2025)
Changed paths:
M mlir/include/mlir/Conversion/MathToROCDL/MathToROCDL.h
M mlir/include/mlir/Conversion/Passes.td
M mlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp
M mlir/lib/Conversion/MathToROCDL/CMakeLists.txt
M mlir/lib/Conversion/MathToROCDL/MathToROCDL.cpp
M mlir/test/Conversion/MathToROCDL/math-to-rocdl.mlir
Log Message:
-----------
[MLIR][ROCDL] Add math.clampf -> rocdl.fmed3 conversion (#163520)
Added Pattern for lowering `Math::ClampFOp` to `ROCDL::FMED3`.
Also added `chipet` option to `MathToRocdl` pass to check for arch
support ISA instructions
Solves [#15072](https://github.com/llvm/llvm-project/issues/157052)
Reapplies https://github.com/llvm/llvm-project/pull/160100
Un-reverts the merged https://github.com/llvm/llvm-project/pull/163259,
and fixes the error.
---------
Signed-off-by: Keshav Vinayak Jha <keshavvinayakjha at gmail.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list