[llvm] r192556 - R600/SI: Add SinkingPass before ISel
Vincent Lejeune
vljn at ovi.com
Sun Oct 13 10:56:21 PDT 2013
Author: vljn
Date: Sun Oct 13 12:56:21 2013
New Revision: 192556
URL: http://llvm.org/viewvc/llvm-project?rev=192556&view=rev
Log:
R600/SI: Add SinkingPass before ISel
Modified:
llvm/trunk/lib/Target/R600/AMDGPUTargetMachine.cpp
Modified: llvm/trunk/lib/Target/R600/AMDGPUTargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/AMDGPUTargetMachine.cpp?rev=192556&r1=192555&r2=192556&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/AMDGPUTargetMachine.cpp (original)
+++ llvm/trunk/lib/Target/R600/AMDGPUTargetMachine.cpp Sun Oct 13 12:56:21 2013
@@ -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 {
More information about the llvm-commits
mailing list