[Mlir-commits] [mlir] [MLIR][NVVM] Add sqrt Ops (PR #197422)
Varad Rahul Kamthe
llvmlistbot at llvm.org
Thu May 14 01:48:53 PDT 2026
================
@@ -6544,6 +6544,41 @@ def NVVM_FmaOp : NVVM_Op<"fma", [Pure, SameOperandsAndResultType]> {
}];
}
+//===----------------------------------------------------------------------===//
+// NVVM sqrt op definitions
+//===----------------------------------------------------------------------===//
+
+def NVVM_SqrtOp
+ : NVVM_SingleResultIntrinsicOp<"sqrt", [Pure, SameOperandsAndResultType]> {
+ let summary = "Take the square root of a value";
+ let description = [{
+ Compute sqrt(a) and store the result in d.
----------------
varadk27 wrote:
Addressed in the latest revision.
https://github.com/llvm/llvm-project/pull/197422
More information about the Mlir-commits
mailing list