Skip to content

Commit 9627602

Browse files
authored
[VP] Mark llvm.experimental.vp.splice as having no functional equivalent (#70647)
llvm.experimental.vp.splice has different semantics from llvm.experimental.splice (since it takes uses the EVL arguments in a way other than just masking the tail elements), so it shouldn't be expanded to the unpredicated version. Coincidentally there's no support for llvm.experimental.vp.splice in ExpandVectorPredication, so it wasn't getting expanded, but we shouldn't mark it as functionally equivalent anyway since there's other users of the property now e.g. in VectorCombine.
1 parent 59f3713 commit 9627602

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/IR/VPIntrinsics.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ VP_PROPERTY_NO_FUNCTIONAL
699699
END_REGISTER_VP(vp_merge, VP_MERGE)
700700

701701
BEGIN_REGISTER_VP(experimental_vp_splice, 3, 5, EXPERIMENTAL_VP_SPLICE, -1)
702-
VP_PROPERTY_FUNCTIONAL_INTRINSIC(experimental_vector_splice)
702+
VP_PROPERTY_NO_FUNCTIONAL
703703
END_REGISTER_VP(experimental_vp_splice, EXPERIMENTAL_VP_SPLICE)
704704

705705
///// } Shuffles

0 commit comments

Comments
 (0)