[llvm] [TableGen][SIInsertWaitcnts] use RegIntervals for AMDGPU (PR #174888)

Ryan Mitchell via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 12 11:54:18 PST 2026


================
@@ -97,10 +97,18 @@ auto inst_counter_types(InstCounterType MaxCounter = NUM_INST_CNTS) {
   return enum_seq(LOAD_CNT, MaxCounter);
 }
 
+// All regunits for a particular MCRegister are contiguous, so we don't need the
+// actual MCRegUnit.
+using RegUnit = unsigned;
----------------
RyanRio wrote:

Going with StorageUnit since I think there is overlap with the "resource" name in other things, and storage is more general

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


More information about the llvm-commits mailing list