summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2014-04-03 07:03:28 +0000
committerAndrew Trick <atrick@apple.com>2014-04-03 07:03:28 +0000
commitf51ee3c416a05a138e22d87aec8b6bbf19969c8a (patch)
tree122e5a4e323c1427bfba400af4280bd2cbdf5033
parent12e00fc649cd63ec111efa9a843dbb7c73d6bfdd (diff)
downloadbcm5719-llvm-f51ee3c416a05a138e22d87aec8b6bbf19969c8a.tar.gz
bcm5719-llvm-f51ee3c416a05a138e22d87aec8b6bbf19969c8a.zip
Minor update to the stack map documentation.
llvm-svn: 205513
-rw-r--r--llvm/docs/StackMaps.rst14
1 files changed, 10 insertions, 4 deletions
diff --git a/llvm/docs/StackMaps.rst b/llvm/docs/StackMaps.rst
index 373596df8c8..9236934cf43 100644
--- a/llvm/docs/StackMaps.rst
+++ b/llvm/docs/StackMaps.rst
@@ -400,6 +400,11 @@ immediately after compiling a module and encode the information in its
own format. Since the runtime controls the allocation of sections, it
can reuse the same stack map space for multiple modules.
+..
+ Stackmap support is currently only implemented for 64-bit
+ platforms. However, a 32-bit implementation should be able to use
+ the same format with an insignificant amount of wasted space.
+
.. _stackmap-section:
Stack Map Section
@@ -454,10 +459,11 @@ program could crash before the runtime could take back control.
To enforce these semantics, stackmap and patchpoint intrinsics are
considered to potentially read and write all memory. This may limit
-optimization more than some clients desire. To address this problem
-meta-data could be added to the intrinsic call to express aliasing,
-thereby allowing optimizations to hoist certain loads above stack
-maps.
+optimization more than some clients desire. This limitation may be
+avoided by marking the call site as "readonly". In the future we may
+also allow meta-data to be added to the intrinsic call to express
+aliasing, thereby allowing optimizations to hoist certain loads above
+stack maps.
Direct Stack Map Entries
^^^^^^^^^^^^^^^^^^^^^^^^
OpenPOWER on IntegriCloud