[llvm] r194785 - Fix grammar in addrspacecast description
Matt Arsenault
Matthew.Arsenault at amd.com
Thu Nov 14 21:44:56 PST 2013
Author: arsenm
Date: Thu Nov 14 23:44:56 2013
New Revision: 194785
URL: http://llvm.org/viewvc/llvm-project?rev=194785&view=rev
Log:
Fix grammar in addrspacecast description
Modified:
llvm/trunk/docs/LangRef.rst
Modified: llvm/trunk/docs/LangRef.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.rst?rev=194785&r1=194784&r2=194785&view=diff
==============================================================================
--- llvm/trunk/docs/LangRef.rst (original)
+++ llvm/trunk/docs/LangRef.rst Thu Nov 14 23:44:56 2013
@@ -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.
More information about the llvm-commits
mailing list