[clang] [llvm] [AMDGPU] Fix monitor-sleep duration validation on GFX12.5 (PR #241042)

Jay Foad via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 13 03:07:06 PST 2026


jayfoad wrote:

Description needs updating:

> On GFX12.5, s_monitor_sleep uses only seven bits for the duration.

No longer GFX12.5-specific.

> Reject reserved duration bits in builtin calls and assembly, and clamp invalid durations from direct IR to 127.

You're not clamping any more?

https://github.com/llvm/llvm-project/pull/241042


More information about the cfe-commits mailing list