From 36d96337f7bf17a35c44403ca5df4023be7f0157 Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Sun, 13 Oct 2013 17:56:21 +0000 Subject: [PATCH] R600/SI: Add SinkingPass before ISel git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192556 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/R600/AMDGPUTargetMachine.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Target/R600/AMDGPUTargetMachine.cpp b/lib/Target/R600/AMDGPUTargetMachine.cpp index 1fef0b16078..cd7a616cd32 100644 --- a/lib/Target/R600/AMDGPUTargetMachine.cpp +++ b/lib/Target/R600/AMDGPUTargetMachine.cpp @@ -128,6 +128,7 @@ AMDGPUPassConfig::addPreISel() { ST.getGeneration() > AMDGPUSubtarget::NORTHERN_ISLANDS) addPass(createStructurizeCFGPass()); if (ST.getGeneration() > AMDGPUSubtarget::NORTHERN_ISLANDS) { + addPass(createSinkingPass()); addPass(createSITypeRewriter()); addPass(createSIAnnotateControlFlowPass()); } else { -- 2.34.1