[llvm] [AMDGPU] Add a trap lowering workaround for gfx11 (PR #85854)
Emma Pilkington via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 22 12:17:31 PDT 2024
================
@@ -443,6 +443,8 @@ class GCNSubtarget final : public AMDGPUGenSubtargetInfo,
return isAmdHsaOS() ? TrapHandlerAbi::AMDHSA : TrapHandlerAbi::NONE;
}
+ bool requiresSimulatedTrap() const { return getGeneration() == GFX11; }
----------------
epilk wrote:
Oops, good catch! Fixed in the update.
https://github.com/llvm/llvm-project/pull/85854
More information about the llvm-commits
mailing list