From 8f4444960f668e097afeed90c5183f4c1d99f4eb Mon Sep 17 00:00:00 2001 From: Zvi Rackover Date: Thu, 26 Jan 2017 20:29:15 +0000 Subject: [PATCH] [Doc][LangRef] Fix typo-ish error in description of Masked Gather Summary: Fix the example of equivalent expansion for when mask is all ones. Reviewers: delena Reviewed By: delena Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D29179 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293206 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LangRef.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/LangRef.rst b/docs/LangRef.rst index ecf48455427..a01792c1f73 100644 --- a/docs/LangRef.rst +++ b/docs/LangRef.rst @@ -11831,7 +11831,7 @@ The semantics of this operation are equivalent to a sequence of conditional scal :: - %res = call <4 x double> @llvm.masked.gather.v4f64 (<4 x double*> %ptrs, i32 8, <4 x i1>%mask, <4 x double> ) + %res = call <4 x double> @llvm.masked.gather.v4f64 (<4 x double*> %ptrs, i32 8, <4 x i1> , <4 x double> undef) ;; The gather with all-true mask is equivalent to the following instruction sequence %ptr0 = extractelement <4 x double*> %ptrs, i32 0 -- 2.50.1