[llvm] [AMDGPU] Consolidate SGPRSpill and VGPRSpill into single Spill bit (PR #81901)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 16 01:47:53 PST 2024


================
@@ -87,9 +87,9 @@ enum : uint64_t {
   FLAT = 1 << 24,
   DS = 1 << 25,
 
-  // Pseudo instruction formats.
-  VGPRSpill = 1 << 26,
-  SGPRSpill = 1 << 27,
+  // Combined SGPR/VGPR Spill bit
+  // logic to seperate them out is done in isSGPRSpill and isVGPRSpill
----------------
jayfoad wrote:

Capitalise "Logic" or write it as a complete sentence (per coding standards). Typo "separate".

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


More information about the llvm-commits mailing list