summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/SIMachineScheduler.h
diff options
context:
space:
mode:
authorMarek Olsak <marek.olsak@amd.com>2017-07-25 20:36:58 +0000
committerMarek Olsak <marek.olsak@amd.com>2017-07-25 20:36:58 +0000
commite6f74384b1fb963ea5e65cc7ee3e63a63ddf08f5 (patch)
tree629077e3c7d1c036acf36cb99da223bb4e1d9e80 /llvm/lib/Target/AMDGPU/SIMachineScheduler.h
parent09736e314c92d8ce73091b9883087299b6a68fe9 (diff)
downloadbcm5719-llvm-e6f74384b1fb963ea5e65cc7ee3e63a63ddf08f5.tar.gz
bcm5719-llvm-e6f74384b1fb963ea5e65cc7ee3e63a63ddf08f5.zip
AMDGPU/SI: Force exports at the end for SI scheduler
Patch by: Axel Davy Differential Revision: https://reviews.llvm.org/D34965 llvm-svn: 309027
Diffstat (limited to 'llvm/lib/Target/AMDGPU/SIMachineScheduler.h')
-rw-r--r--llvm/lib/Target/AMDGPU/SIMachineScheduler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIMachineScheduler.h b/llvm/lib/Target/AMDGPU/SIMachineScheduler.h
index 122d0f67ca8..d824e38504e 100644
--- a/llvm/lib/Target/AMDGPU/SIMachineScheduler.h
+++ b/llvm/lib/Target/AMDGPU/SIMachineScheduler.h
@@ -302,6 +302,9 @@ private:
// (we'd want these groups be at the end).
void regroupNoUserInstructions();
+ // Give Reserved color to export instructions
+ void colorExports();
+
void createBlocksForVariant(SISchedulerBlockCreatorVariant BlockVariant);
void topologicalSort();
OpenPOWER on IntegriCloud