Unverified Commit a0471470 authored by Emma Pilkington's avatar Emma Pilkington Committed by GitHub
Browse files

[AMDGPU] Add a trap lowering workaround for gfx11 (#85854)

On gfx11 shaders run with PRIV=1, which causes `s_trap 2` to be treated
as a nop, which means it isn't a correct lowering for the trap
intrinsic. As a workaround, this commit instead lowers the trap
intrinsic to instructions that simulate the behavior of s_trap 2.

Fixes: SWDEV-438421
parent e58dcf13
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment