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

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 11 05:03:47 PST 2026


================
@@ -1690,6 +1690,12 @@ defm NeedsAligned2addrDS : AMDGPUSubtargetFeature<"needs-aligned-2addr-lds",
   /*GenPredicate=*/1
 >;
 
+defm MonitorSleep7BitDuration : AMDGPUSubtargetFeature<
+  "monitor-sleep-7-bit-duration",
+  "s_monitor_sleep uses a 7-bit duration",
+  /*GenPredicate=*/0
+>;
----------------
yxsamliu wrote:

Exposed both features through the shared table and removed arch parsing.

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


More information about the cfe-commits mailing list