[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


================
@@ -11976,6 +11976,98 @@ Example:
       <result> = icmp ule i16 -4, 5        ; yields: result=false
       <result> = icmp sge i16  4, 5        ; yields: result=false
 
+.. _i_sthreecmp:
+
+'``sthreecmp``' Instruction
----------------
nikic wrote:

This isn't an instruction, but an intrinsic (that is, a special type of call). I'd look at the documentation for something like llvm.smax or llvm.sadd.sat and follow what it does (and also place it in the same general area).

https://github.com/llvm/llvm-project/pull/83227


More information about the llvm-commits mailing list