Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LangRef] Fix some formatting issues (NFC) #126224

Merged
merged 1 commit into from
Feb 7, 2025
Merged

[LangRef] Fix some formatting issues (NFC) #126224

merged 1 commit into from
Feb 7, 2025

Conversation

MacDue
Copy link
Member

@MacDue MacDue commented Feb 7, 2025

Fixes codeblock and inline code formatting for the llvm.modf.* intrinsic.

Fixes codeblock and inline code formatting for the `llvm.modf.*`
intrinsic.
@MacDue MacDue requested a review from SamTebbs33 February 7, 2025 10:54
@llvmbot llvmbot added the llvm:ir label Feb 7, 2025
@llvmbot
Copy link
Member

llvmbot commented Feb 7, 2025

@llvm/pr-subscribers-llvm-ir

Author: Benjamin Maxwell (MacDue)

Changes

Fixes codeblock and inline code formatting for the llvm.modf.* intrinsic.


Full diff: https://github.com/llvm/llvm-project/pull/126224.diff

1 Files Affected:

  • (modified) llvm/docs/LangRef.rst (+3-1)
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 5f0ae5ce8614c63..f57c29ccdd588d7 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -16162,9 +16162,11 @@ trapping or setting ``errno``.
 The first result is the fractional part of the operand and the second result is
 the integral part of the operand. Both results have the same sign as the operand.
 
-Not including exceptional inputs (listed below), `llvm.modf.*` is semantically
+Not including exceptional inputs (listed below), ``llvm.modf.*`` is semantically
 equivalent to:
 
+::
+
   %fp = frem <fptype> %x, 1.0  ; Fractional part
   %ip = fsub <fptype> %x, %fp  ; Integral part
 

@MacDue MacDue merged commit 3fdb348 into llvm:main Feb 7, 2025
11 checks passed
@MacDue MacDue deleted the fix_doc branch February 7, 2025 13:35
Icohedron pushed a commit to Icohedron/llvm-project that referenced this pull request Feb 11, 2025
Fixes codeblock and inline code formatting for the `llvm.modf.*`
intrinsic.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants