[PATCH] D33117: [AMDGPU] Cache live-ins and register pressure in scheduler

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 12 13:48:37 PDT 2017


rampitec updated this revision to Diff 98836.
rampitec edited the summary of this revision.
rampitec added a comment.

Added second very small cache to reuse calculated live set of a block as its only successor live-in set.
Simplified the loop inside computeBlockPressure() to catch end() of the block without code duplication.
Adjusted initial block iterator to the first instruction of the first (topologically) region to save few iterations in some blocks.
Diff is now created against it parent review https://reviews.llvm.org/D33105 to show only the real changes.


Repository:
  rL LLVM

https://reviews.llvm.org/D33117

Files:
  lib/Target/AMDGPU/GCNSchedStrategy.cpp
  lib/Target/AMDGPU/GCNSchedStrategy.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33117.98836.patch
Type: text/x-patch
Size: 11153 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170512/66872699/attachment.bin>


More information about the llvm-commits mailing list