From 1d549e68d4ac58e5fcdc1c9c6d2d09334fab4fbf Mon Sep 17 00:00:00 2001 From: Guillaume Chatelet Date: Wed, 22 Jan 2020 10:42:37 +0100 Subject: [PATCH] [Doc] Update requirements for masked load/store --- llvm/docs/LangRef.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst index 9074400..e3c2a0a 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: -- 2.7.4