]> granicus.if.org Git - llvm/commitdiff
[Doc][LangRef] Fix typo-ish error in description of Masked Gather
authorZvi Rackover <zvi.rackover@intel.com>
Thu, 26 Jan 2017 20:29:15 +0000 (20:29 +0000)
committerZvi Rackover <zvi.rackover@intel.com>
Thu, 26 Jan 2017 20:29:15 +0000 (20:29 +0000)
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

index ecf48455427b72695e50e849dfbe554289cea53d..a01792c1f733f671a0300de0b2cc43101e052136 100644 (file)
@@ -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> <true, true, true, true>)
+       %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)
 
        ;; The gather with all-true mask is equivalent to the following instruction sequence
        %ptr0 = extractelement <4 x double*> %ptrs, i32 0