diff options
author | Vincent Lejeune <vljn@ovi.com> | 2013-10-13 17:56:21 +0000 |
---|---|---|
committer | Vincent Lejeune <vljn@ovi.com> | 2013-10-13 17:56:21 +0000 |
commit | 36d96337f7bf17a35c44403ca5df4023be7f0157 (patch) | |
tree | 7d9f64a498ed6aa39cd2ad5363eff1d9dc83e4c5 /lib/Target | |
parent | 6a809a8d292ca4aa70cc07ce6b573239f397bb47 (diff) | |
download | external_llvm-36d96337f7bf17a35c44403ca5df4023be7f0157.zip external_llvm-36d96337f7bf17a35c44403ca5df4023be7f0157.tar.gz external_llvm-36d96337f7bf17a35c44403ca5df4023be7f0157.tar.bz2 |
R600/SI: Add SinkingPass before ISel
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192556 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/R600/AMDGPUTargetMachine.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/R600/AMDGPUTargetMachine.cpp b/lib/Target/R600/AMDGPUTargetMachine.cpp index 1fef0b1..cd7a616 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 { |