[llvm] r293206 - [Doc][LangRef] Fix typo-ish error in description of Masked Gather

Zvi Rackover via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 26 12:29:15 PST 2017


Author: zvi
Date: Thu Jan 26 14:29:15 2017
New Revision: 293206

URL: http://llvm.org/viewvc/llvm-project?rev=293206&view=rev
Log:
[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

Modified:
    llvm/trunk/docs/LangRef.rst

Modified: llvm/trunk/docs/LangRef.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.rst?rev=293206&r1=293205&r2=293206&view=diff
==============================================================================
--- llvm/trunk/docs/LangRef.rst (original)
+++ llvm/trunk/docs/LangRef.rst Thu Jan 26 14:29:15 2017
@@ -11831,7 +11831,7 @@ The semantics of this operation are equi
 
 ::
 
-       %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




More information about the llvm-commits mailing list