From e6f74384b1fb963ea5e65cc7ee3e63a63ddf08f5 Mon Sep 17 00:00:00 2001 From: Marek Olsak Date: Tue, 25 Jul 2017 20:36:58 +0000 Subject: AMDGPU/SI: Force exports at the end for SI scheduler Patch by: Axel Davy Differential Revision: https://reviews.llvm.org/D34965 llvm-svn: 309027 --- llvm/lib/Target/AMDGPU/SIMachineScheduler.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'llvm/lib/Target/AMDGPU/SIMachineScheduler.h') 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(); -- cgit v1.2.3