[PATCH] D104061: [LangRef] clarify the meaning of noimplicitfloat

Bob Haarman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 11 17:01:36 PDT 2021


inglorion updated this revision to Diff 351593.
inglorion added a comment.

Also specified that this inhibits the use of SIMD/vector registers
(which is true at least of x86_64 and armv8).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104061/new/

https://reviews.llvm.org/D104061

Files:
  llvm/docs/LangRef.rst


Index: llvm/docs/LangRef.rst
===================================================================
--- llvm/docs/LangRef.rst
+++ llvm/docs/LangRef.rst
@@ -1634,7 +1634,11 @@
     memory on it's behalf.  As a result, perhaps surprisingly, a ``nofree``
     function can return a pointer to a previously deallocated memory object.
 ``noimplicitfloat``
-    This attributes disables implicit floating-point instructions.
+    Disallows implicit floating-point code. This inhibits optimizations that
+    use floating-point code and floating-point/SIMD/vector registers for
+    operations that are not nominally floating-point. LLVM instructions that
+    perform floating-point operations or require access to floating-point
+    registers may still cause floating-point code to be generated.
 ``noinline``
     This attribute indicates that the inliner should never inline this
     function in any situation. This attribute may not be used together


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104061.351593.patch
Type: text/x-patch
Size: 947 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210612/1769547f/attachment.bin>


More information about the llvm-commits mailing list