[llvm] [AMDGPU] Handled G_UBSANTRAP GlobalIsel (PR #134492)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 10 19:49:06 PDT 2025
================
@@ -7283,9 +7283,9 @@ SDValue SITargetLowering::lowerDEBUGTRAP(SDValue Op, SelectionDAG &DAG) const {
if (!Subtarget->isTrapHandlerEnabled() ||
Subtarget->getTrapHandlerAbi() != GCNSubtarget::TrapHandlerAbi::AMDHSA) {
- DiagnosticInfoUnsupported NoTrap(MF.getFunction(),
- "debugtrap handler not supported",
- Op.getDebugLoc(), DS_Warning);
+ DiagnosticInfoUnsupported NoTrap(
+ MF.getFunction(), "debugtrap/ubsantrap handler not supported",
----------------
arsenm wrote:
```suggestion
MF.getFunction(), "trap handler not supported",
```
https://github.com/llvm/llvm-project/pull/134492
More information about the llvm-commits
mailing list