[llvm] Add 3 way compare <=> integer intrinsics to Langref (PR #83227)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 1 01:08:51 PST 2024
================
@@ -2136,7 +2136,14 @@ let IntrProperties = [IntrNoMem, IntrNoSync, IntrWillReturn] in {
llvm_metadata_ty,
LLVMScalarOrSameVectorWidth<0, llvm_i1_ty>,
llvm_i32_ty]>;
-
+ def int_vp_sthreecmp : DefaultAttrsIntrinsic<[ LLVMScalarOrSameVectorWidth<0, llvm_i8_ty> ],
----------------
nikic wrote:
The `vp` intrinsics are for "vector predication", which is basically about applying an operation only to a subset of vector lanes. These would be "normal" intrinsics. Again, I'd look at something like int_smin or int_sadd_sat.
https://github.com/llvm/llvm-project/pull/83227
More information about the llvm-commits
mailing list