projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a715da
)
Revert r231324 "Remove the conditional addition of the execution dependency fixing"
author
Hans Wennborg
<hans@hanshq.net>
Thu, 5 Mar 2015 03:24:49 +0000
(
03:24
+0000)
committer
Hans Wennborg
<hans@hanshq.net>
Thu, 5 Mar 2015 03:24:49 +0000
(
03:24
+0000)
See PR22799.
llvm-svn: 231348
llvm/lib/Target/ARM/ARMTargetMachine.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/ARM/ARMTargetMachine.cpp
b/llvm/lib/Target/ARM/ARMTargetMachine.cpp
index
e3e6228
..
34f7f78
100644
(file)
--- a/
llvm/lib/Target/ARM/ARMTargetMachine.cpp
+++ b/
llvm/lib/Target/ARM/ARMTargetMachine.cpp
@@
-358,7
+358,9
@@
void ARMPassConfig::addPreRegAlloc() {
void ARMPassConfig::addPreSched2() {
if (getOptLevel() != CodeGenOpt::None) {
addPass(createARMLoadStoreOptimizationPass());
- addPass(createExecutionDependencyFixPass(&ARM::DPRRegClass));
+
+ if (getARMSubtarget().hasNEON())
+ addPass(createExecutionDependencyFixPass(&ARM::DPRRegClass));
}
// Expand some pseudo instructions into multiple instructions to allow