diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2011-08-12 22:50:01 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2011-08-12 22:50:01 +0000 |
| commit | 02e737b08ed90daf9dd46e6c3d7deb9eaceeef01 (patch) | |
| tree | 89a5d030144f020aa8be75815f20d65883dc56d6 /llvm/docs | |
| parent | 59d741fec6436268fe5c476f168ab6a7d00fa9d9 (diff) | |
| download | bcm5719-llvm-02e737b08ed90daf9dd46e6c3d7deb9eaceeef01.tar.gz bcm5719-llvm-02e737b08ed90daf9dd46e6c3d7deb9eaceeef01.zip | |
Move "atomic" and "volatile" designations on instructions after the opcode
of the instruction.
Note that this change affects the existing non-atomic load and store
instructions; the parser now accepts both forms, and the change is noted
in the release notes.
llvm-svn: 137527
Diffstat (limited to 'llvm/docs')
| -rw-r--r-- | llvm/docs/LangRef.html | 12 | ||||
| -rw-r--r-- | llvm/docs/ReleaseNotes.html | 4 |
2 files changed, 10 insertions, 6 deletions
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html index 725691c14ff..95cbad06f6a 100644 --- a/llvm/docs/LangRef.html +++ b/llvm/docs/LangRef.html @@ -4572,8 +4572,8 @@ that the invoke/unwind semantics are likely to change in future versions.</p> <h5>Syntax:</h5> <pre> - <result> = [volatile] load <ty>* <pointer>[, align <alignment>][, !nontemporal !<index>] - <result> = atomic [volatile] load <ty>* <pointer> [singlethread] <ordering>, align <alignment> + <result> = load [volatile] <ty>* <pointer>[, align <alignment>][, !nontemporal !<index>] + <result> = load atomic [volatile] <ty>* <pointer> [singlethread] <ordering>, align <alignment> !<index> = !{ i32 1 } </pre> @@ -4644,8 +4644,8 @@ that the invoke/unwind semantics are likely to change in future versions.</p> <h5>Syntax:</h5> <pre> - [volatile] store <ty> <value>, <ty>* <pointer>[, align <alignment>][, !nontemporal !<index>] <i>; yields {void}</i> - atomic [volatile] store <ty> <value>, <ty>* <pointer> [singlethread] <ordering>, align <alignment> <i>; yields {void}</i> + store [volatile] <ty> <value>, <ty>* <pointer>[, align <alignment>][, !nontemporal !<index>] <i>; yields {void}</i> + store atomic [volatile] <ty> <value>, <ty>* <pointer> [singlethread] <ordering>, align <alignment> <i>; yields {void}</i> </pre> <h5>Overview:</h5> @@ -4774,7 +4774,7 @@ thread. (This is useful for interacting with signal handlers.)</p> <h5>Syntax:</h5> <pre> - [volatile] cmpxchg <ty>* <pointer>, <ty> <cmp>, <ty> <new> [singlethread] <ordering> <i>; yields {ty}</i> + cmpxchg [volatile] <ty>* <pointer>, <ty> <cmp>, <ty> <new> [singlethread] <ordering> <i>; yields {ty}</i> </pre> <h5>Overview:</h5> @@ -4857,7 +4857,7 @@ done: <h5>Syntax:</h5> <pre> - [volatile] atomicrmw <operation> <ty>* <pointer>, <ty> <value> [singlethread] <ordering> <i>; yields {ty}</i> + atomicrmw [volatile] <operation> <ty>* <pointer>, <ty> <value> [singlethread] <ordering> <i>; yields {ty}</i> </pre> <h5>Overview:</h5> diff --git a/llvm/docs/ReleaseNotes.html b/llvm/docs/ReleaseNotes.html index 726729aebf8..258555496c1 100644 --- a/llvm/docs/ReleaseNotes.html +++ b/llvm/docs/ReleaseNotes.html @@ -583,6 +583,10 @@ it run faster:</p> <ul> <li>The <code>LowerSetJmp</code> pass wasn't used effectively by any target and has been removed.</li> + <li>The syntax of volatile loads and stores in IR has been changed to + "<code>load volatile</code>"/"<code>store volatile</code>". The old + syntax ("<code>volatile load</code>"/"<code>volatile store</code>") + is still accepted, but is now considered deprecated.</li> </ul> </div> |

