[llvm] [AMDGPU] Refactor setreg handling in the VGPR MSB lowering (PR #186491)

Stanislav Mekhanoshin via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 6 16:57:07 PDT 2026


================
@@ -159,6 +159,10 @@ class AMDGPULowerVGPREncoding {
   // instruction that we inserted, which implicitly waits for XCNT==0.
   bool XCntIsZero;
 
+  /// S_SETREG_IMM32_B32 instruction was seen since last mode change, we cannot
+  /// piggyback.
+  bool SeenSetRegImm;
----------------
rampitec wrote:

But if you want, I can do that.

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


More information about the llvm-commits mailing list