summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2013-11-15 05:44:56 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2013-11-15 05:44:56 +0000
commit01ad8c308fe549afadb9da18ac0dd30c848c4e1e (patch)
treeeef9e9f79817e5267033734e0dbf27dfdf3434e8 /docs
parent509a492442b7e889d615d3b451629c81a810aef1 (diff)
downloadllvm-01ad8c308fe549afadb9da18ac0dd30c848c4e1e.tar.gz
llvm-01ad8c308fe549afadb9da18ac0dd30c848c4e1e.tar.bz2
llvm-01ad8c308fe549afadb9da18ac0dd30c848c4e1e.tar.xz
Fix grammar in addrspacecast description
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194785 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/LangRef.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/LangRef.rst b/docs/LangRef.rst
index 58bba1ba15..e102cb6778 100644
--- a/docs/LangRef.rst
+++ b/docs/LangRef.rst
@@ -5774,9 +5774,9 @@ Semantics:
The '``addrspacecast``' instruction converts the pointer value
``ptrval`` to type ``pty2``. It can be a *no-op cast* or a complex
-value modification, depending on the target and the address spaces
-pair. Pointers conversion within the same address space must be
-performed with ``bitcast`` instruction. Note that if the address space
+value modification, depending on the target and the address space
+pair. Pointer conversions within the same address space must be
+performed with the ``bitcast`` instruction. Note that if the address space
conversion is legal then both result and operand refer to the same memory
location.