[llvm] 1d549e6 - [Doc] Update requirements for masked load/store

Guillaume Chatelet via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 22 01:43:08 PST 2020


Author: Guillaume Chatelet
Date: 2020-01-22T10:42:37+01:00
New Revision: 1d549e68d4ac58e5fcdc1c9c6d2d09334fab4fbf

URL: https://github.com/llvm/llvm-project/commit/1d549e68d4ac58e5fcdc1c9c6d2d09334fab4fbf
DIFF: https://github.com/llvm/llvm-project/commit/1d549e68d4ac58e5fcdc1c9c6d2d09334fab4fbf.diff

LOG: [Doc] Update requirements for masked load/store

Added: 
    

Modified: 
    llvm/docs/LangRef.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 907440006828..e3c2a0afcb0e 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -14942,8 +14942,7 @@ Reads a vector from memory according to the provided mask. The mask holds a bit
 Arguments:
 """"""""""
 
-The first operand is the base pointer for the load. The second operand is the alignment of the source location. It must be a constant integer value. The third operand, mask, is a vector of boolean values with the same number of elements as the return type. The fourth is a pass-through value that is used to fill the masked-off lanes of the result. The return type, underlying type of the base pointer and the type of the '``passthru``' operand are the same vector types.
-
+The first operand is the base pointer for the load. The second operand is the alignment of the source location. It must be a power of two constant integer value. The third operand, mask, is a vector of boolean values with the same number of elements as the return type. The fourth is a pass-through value that is used to fill the masked-off lanes of the result. The return type, underlying type of the base pointer and the type of the '``passthru``' operand are the same vector types.
 
 Semantics:
 """"""""""
@@ -14986,7 +14985,7 @@ Writes a vector to memory according to the provided mask. The mask holds a bit f
 Arguments:
 """"""""""
 
-The first operand is the vector value to be written to memory. The second operand is the base pointer for the store, it has the same underlying type as the value operand. The third operand is the alignment of the destination location. The fourth operand, mask, is a vector of boolean values. The types of the mask and the value operand must have the same number of vector elements.
+The first operand is the vector value to be written to memory. The second operand is the base pointer for the store, it has the same underlying type as the value operand. The third operand is the alignment of the destination location. It must be a power of two constant integer value. The fourth operand, mask, is a vector of boolean values. The types of the mask and the value operand must have the same number of vector elements.
 
 
 Semantics:


        


More information about the llvm-commits mailing list