[llvm] [LangRef] Fix typo in signatures for rounding intrinsics (PR #186709)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 15 14:56:16 PDT 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-ir
Author: Mitch Briles (MitchBriles)
<details>
<summary>Changes</summary>
Fixes #<!-- -->186536
---
Full diff: https://github.com/llvm/llvm-project/pull/186709.diff
1 Files Affected:
- (modified) llvm/docs/LangRef.rst (+18-18)
``````````diff
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 8bf66c56f82fc..d28d891fd8325 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -18309,15 +18309,15 @@ support all types however.
declare i32 @llvm.lround.i32.f32(float %Val)
declare i32 @llvm.lround.i32.f64(double %Val)
- declare i32 @llvm.lround.i32.f80(float %Val)
- declare i32 @llvm.lround.i32.f128(double %Val)
- declare i32 @llvm.lround.i32.ppcf128(double %Val)
+ declare i32 @llvm.lround.i32.f80(x86_fp80 %Val)
+ declare i32 @llvm.lround.i32.f128(fp128 %Val)
+ declare i32 @llvm.lround.i32.ppcf128(ppc_fp128 %Val)
declare i64 @llvm.lround.i64.f32(float %Val)
declare i64 @llvm.lround.i64.f64(double %Val)
- declare i64 @llvm.lround.i64.f80(float %Val)
- declare i64 @llvm.lround.i64.f128(double %Val)
- declare i64 @llvm.lround.i64.ppcf128(double %Val)
+ declare i64 @llvm.lround.i64.f80(x86_fp80 %Val)
+ declare i64 @llvm.lround.i64.f128(fp128 %Val)
+ declare i64 @llvm.lround.i64.ppcf128(ppc_fp128 %Val)
Overview:
"""""""""
@@ -18353,9 +18353,9 @@ floating-point type. Not all targets support all types however.
declare i64 @llvm.llround.i64.f32(float %Val)
declare i64 @llvm.llround.i64.f64(double %Val)
- declare i64 @llvm.llround.i64.f80(float %Val)
- declare i64 @llvm.llround.i64.f128(double %Val)
- declare i64 @llvm.llround.i64.ppcf128(double %Val)
+ declare i64 @llvm.llround.i64.f80(x86_fp80 %Val)
+ declare i64 @llvm.llround.i64.f128(fp128 %Val)
+ declare i64 @llvm.llround.i64.ppcf128(ppc_fp128 %Val)
Overview:
"""""""""
@@ -18393,15 +18393,15 @@ support all types however.
declare i32 @llvm.lrint.i32.f32(float %Val)
declare i32 @llvm.lrint.i32.f64(double %Val)
- declare i32 @llvm.lrint.i32.f80(float %Val)
- declare i32 @llvm.lrint.i32.f128(double %Val)
- declare i32 @llvm.lrint.i32.ppcf128(double %Val)
+ declare i32 @llvm.lrint.i32.f80(x86_fp80 %Val)
+ declare i32 @llvm.lrint.i32.f128(fp128 %Val)
+ declare i32 @llvm.lrint.i32.ppcf128(ppc_fp128 %Val)
declare i64 @llvm.lrint.i64.f32(float %Val)
declare i64 @llvm.lrint.i64.f64(double %Val)
- declare i64 @llvm.lrint.i64.f80(float %Val)
- declare i64 @llvm.lrint.i64.f128(double %Val)
- declare i64 @llvm.lrint.i64.ppcf128(double %Val)
+ declare i64 @llvm.lrint.i64.f80(x86_fp80 %Val)
+ declare i64 @llvm.lrint.i64.f128(fp128 %Val)
+ declare i64 @llvm.lrint.i64.ppcf128(ppc_fp128 %Val)
Overview:
"""""""""
@@ -18440,9 +18440,9 @@ support all types however.
declare i64 @llvm.llrint.i64.f32(float %Val)
declare i64 @llvm.llrint.i64.f64(double %Val)
- declare i64 @llvm.llrint.i64.f80(float %Val)
- declare i64 @llvm.llrint.i64.f128(double %Val)
- declare i64 @llvm.llrint.i64.ppcf128(double %Val)
+ declare i64 @llvm.llrint.i64.f80(x86_fp80 %Val)
+ declare i64 @llvm.llrint.i64.f128(fp128 %Val)
+ declare i64 @llvm.llrint.i64.ppcf128(ppc_fp128 %Val)
Overview:
"""""""""
``````````
</details>
https://github.com/llvm/llvm-project/pull/186709
More information about the llvm-commits
mailing list