[PATCH] D30149: AMDGPU/SI: Fix SGPR usage count in SI scheduler
Valery Pykhtin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 24 09:58:11 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL298710: [AMDGPU] Fix SGPR usage count in SI scheduler (authored by vpykhtin).
Changed prior to commit:
https://reviews.llvm.org/D30149?vs=89042&id=92970#toc
Repository:
rL LLVM
https://reviews.llvm.org/D30149
Files:
llvm/trunk/lib/Target/AMDGPU/SIMachineScheduler.cpp
Index: llvm/trunk/lib/Target/AMDGPU/SIMachineScheduler.cpp
===================================================================
--- llvm/trunk/lib/Target/AMDGPU/SIMachineScheduler.cpp
+++ llvm/trunk/lib/Target/AMDGPU/SIMachineScheduler.cpp
@@ -1465,8 +1465,8 @@
VregCurrentUsage, SregCurrentUsage);
if (VregCurrentUsage > maxVregUsage)
maxVregUsage = VregCurrentUsage;
- if (VregCurrentUsage > maxSregUsage)
- maxSregUsage = VregCurrentUsage;
+ if (SregCurrentUsage > maxSregUsage)
+ maxSregUsage = SregCurrentUsage;
DEBUG(
dbgs() << "Picking New Blocks\n";
dbgs() << "Available: ";
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30149.92970.patch
Type: text/x-patch
Size: 636 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170324/545d0ffd/attachment.bin>
More information about the llvm-commits
mailing list