[PATCH] D29179: [Doc][LangRef] Fix typo-ish error in description of Masked Gather

Zvi Rackover via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 26 07:29:14 PST 2017


zvi created this revision.

Fix the example of equivalent expansion for when mask is all ones.


Repository:
  rL LLVM

https://reviews.llvm.org/D29179

Files:
  docs/LangRef.rst


Index: docs/LangRef.rst
===================================================================
--- docs/LangRef.rst
+++ docs/LangRef.rst
@@ -11818,7 +11818,7 @@
 
 ::
 
-       %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> <true, true, true, 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29179.85905.patch
Type: text/x-patch
Size: 604 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170126/438bdb9b/attachment.bin>


More information about the llvm-commits mailing list