Skip to content

Commit 57ec729

Browse files
committed
add tablegen for sthreecmp and usthreecmp intrinsics
1 parent 9d7134f commit 57ec729

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

llvm/include/llvm/IR/Intrinsics.td

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2136,7 +2136,14 @@ let IntrProperties = [IntrNoMem, IntrNoSync, IntrWillReturn] in {
21362136
llvm_metadata_ty,
21372137
LLVMScalarOrSameVectorWidth<0, llvm_i1_ty>,
21382138
llvm_i32_ty]>;
2139-
2139+
def int_vp_sthreecmp : DefaultAttrsIntrinsic<[ LLVMScalarOrSameVectorWidth<0, llvm_i8_ty> ],
2140+
[LLVMMatchType<0>,
2141+
LLVMMatchType<0>],
2142+
[IntrSpeculatable]>;
2143+
def int_vp_uthreecmp : DefaultAttrsIntrinsic<[ LLVMScalarOrSameVectorWidth<0, llvm_i8_ty>],
2144+
[LLVMMatchType<0>,
2145+
LLVMMatchType<0>],
2146+
[IntrSpeculatable]>;
21402147
// Reductions
21412148
def int_vp_reduce_fadd : DefaultAttrsIntrinsic<[LLVMVectorElementType<0>],
21422149
[ LLVMVectorElementType<0>,

0 commit comments

Comments
 (0)