Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit 8f44449

Browse files
author
Zvi Rackover
committed
[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
1 parent 76aa95e commit 8f44449

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/LangRef.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11831,7 +11831,7 @@ The semantics of this operation are equivalent to a sequence of conditional scal
1183111831

1183211832
::
1183311833

11834-
%res = call <4 x double> @llvm.masked.gather.v4f64 (<4 x double*> %ptrs, i32 8, <4 x i1>%mask, <4 x double> <true, true, true, true>)
11834+
%res = call <4 x double> @llvm.masked.gather.v4f64 (<4 x double*> %ptrs, i32 8, <4 x i1> <i1 true, i1 true, i1 true, i1 true>, <4 x double> undef)
1183511835

1183611836
;; The gather with all-true mask is equivalent to the following instruction sequence
1183711837
%ptr0 = extractelement <4 x double*> %ptrs, i32 0

0 commit comments

Comments
 (0)