[llvm] 967ef4a - [NFC][VP] Fix llvm.vp.merge intrinsic Expansion in LangRef
Lian Wang via llvm-commits
llvm-commits at lists.llvm.org
Sun May 29 18:48:00 PDT 2022
Author: Lian Wang
Date: 2022-05-30T01:43:41Z
New Revision: 967ef4ad0afc29376ab608795f328feb12f5e407
URL: https://github.com/llvm/llvm-project/commit/967ef4ad0afc29376ab608795f328feb12f5e407
DIFF: https://github.com/llvm/llvm-project/commit/967ef4ad0afc29376ab608795f328feb12f5e407.diff
LOG: [NFC][VP] Fix llvm.vp.merge intrinsic Expansion in LangRef
Reviewed By: simoll
Differential Revision: https://reviews.llvm.org/D126457
Added:
Modified:
llvm/docs/LangRef.rst
Removed:
################################################################################
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index aae95fb83d9a2..cf97401afb361 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -17994,7 +17994,7 @@ Example:
;; Lanes at and above %pivot are taken from %on_false
%atfirst = insertelement <4 x i32> undef, i32 %pivot, i32 0
%splat = shufflevector <4 x i32> %atfirst, <4 x i32> poison, <4 x i32> zeroinitializer
- %pivotmask = icmp ult <4 x i32> %splat, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
+ %pivotmask = icmp ult <4 x i32> <i32 0, i32 1, i32 2, i32 3>, <4 x i32> %splat
%mergemask = and <4 x i1> %cond, <4 x i1> %pivotmask
%also.r = select <4 x i1> %mergemask, <4 x i32> %on_true, <4 x i32> %on_false
More information about the llvm-commits
mailing list