[llvm] Add llvm.looptrap intrinsic. (PR #181299)
Florian Mayer via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 13 13:11:11 PST 2026
================
@@ -32294,3 +32294,25 @@ itself. Specifically, the first byte of the instruction will be between
0x70 and 0x7F, and the second byte will be 0xFE.
There are currently no guarantees about instructions used by other backends.
+
+'``llvm.looptrap``' Intrinsic
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Syntax:
+"""""""
+
+::
+
+ declare void @llvm.looptrap() cold noreturn nounwind
+
+Overview:
+"""""""""
+
+The '``llvm.looptrap``' intrinsic is equivalent to
+``llvm.cond.loop(true)``. Its main raison d'ĂȘtre is that it is also
----------------
fmayer wrote:
I would err towards not putting unicode here, but up to you.
https://github.com/llvm/llvm-project/pull/181299
More information about the llvm-commits
mailing list