[PATCH] D111764: [AMDGPU] Allow to use a whole register file on gfx90a for VGPRs

Alex Voicu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 13 16:29:15 PDT 2021


AlexVlx added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h:953
+  // \returns true if a function needs or may need AGPRs.
+  bool usesAGPRs(const MachineFunction &MF) const;
 };
----------------
Why not just make this a manipulator (delete the trailing const) and get rid of mutable? It's just a stylistic issue so feel free to ignore.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111764/new/

https://reviews.llvm.org/D111764



More information about the llvm-commits mailing list