================
@@ -3732,6 +3732,15 @@ class CIR_UnaryFPToFPBuiltinOp<string mnemonic, string
llvmOpName>
let llvmOp = llvmOpName;
}
+def CIR_ACosOp : CIR_UnaryFPToFPBuiltinOp<"acos", "ACosOp"> {
+ let summary = "Computes the arcus cosine of the specified value";
+ let description = [{
+ `cir.acos`computes the arcus cosine of a given value and
+ returns a result of the same type. ignoring floating-point
+ exceptions. It does not set `errno`.
+ }];
----------------
xlauko wrote:
```suggestion
`cir.acos` computes the arc cosine of a given value and
returns a result of the same type.
Floating-point exceptions are ignored, and it does not set errno.
}];
```
https://github.com/llvm/llvm-project/pull/156356
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits