[llvm] [AMDGPU] Add AMDPAL support for llvm.debugtrap (PR #219179)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 13 11:28:02 PDT 2026
Alexander =?utf-8?q?Hück?= <alexander.huck at amd.com>,
Alexander =?utf-8?q?Hück?= <alexander.huck at amd.com>,
Alexander =?utf-8?q?Hück?= <alexander.huck at amd.com>,
Alexander =?utf-8?q?Hück?= <alexander.huck at amd.com>,
Alexander =?utf-8?q?Hück?= <alexander.huck at amd.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/219179 at github.com>
================
@@ -1709,6 +1711,52 @@ The AMDGPU backend implements the following LLVM IR intrinsics.
The format is a 64-bit concatenation of the MODE and TRAPSTS registers.
:ref:`llvm.set.fpenv<int_set_fpenv>` Sets the floating point environment to the specified state.
+
+ |is-debugging-enabled|
+ Supported on GFX11.5, GFX12, and GFX13 targets. Other
+ subtargets lower the result to ``false``.
----------------
arsenm wrote:
Can you make this a condition of some has-this-instruction feature rather than listing generations
https://github.com/llvm/llvm-project/pull/219179
More information about the llvm-commits
mailing list