OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34c1d66
)
R600/SI: Don't run SI passes on R600 subtargets
author
Tom Stellard
<thomas.stellard@amd.com>
Wed, 3 Dec 2014 18:27:05 +0000
(18:27 +0000)
committer
Tom Stellard
<thomas.stellard@amd.com>
Wed, 3 Dec 2014 18:27:05 +0000
(18:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223252
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/R600/AMDGPUTargetMachine.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/R600/AMDGPUTargetMachine.cpp
b/lib/Target/R600/AMDGPUTargetMachine.cpp
index
9fe97c8
..
8854e7b
100644
(file)
--- a/
lib/Target/R600/AMDGPUTargetMachine.cpp
+++ b/
lib/Target/R600/AMDGPUTargetMachine.cpp
@@
-188,8
+188,8
@@
bool AMDGPUPassConfig::addPreRegAlloc() {
bool AMDGPUPassConfig::addPostRegAlloc() {
const AMDGPUSubtarget &ST = TM->getSubtarget<AMDGPUSubtarget>();
- addPass(createSIShrinkInstructionsPass());
if (ST.getGeneration() > AMDGPUSubtarget::NORTHERN_ISLANDS) {
+ addPass(createSIShrinkInstructionsPass());
addPass(createSIInsertWaits(*TM));
}
return false;