[PATCH] D23688: AMDGPU/SI: Implement a custom MachineSchedStrategy

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 18 12:25:28 PDT 2016


arsenm added inline comments.

================
Comment at: lib/Target/AMDGPU/GCNSchedStrategy.cpp:154
@@ +153,3 @@
+  VGPRCriticalLimit = SRI->getNumVGPRsAllowed(MaxWaves);
+  SGPRCriticalLimit = SRI->getNumSGPRsAllowed(DAG->MF.getSubtarget<SISubtarget>(), MaxWaves);
+
----------------
You already have ST


https://reviews.llvm.org/D23688





More information about the llvm-commits mailing list