forked from OSchip/llvm-project
ScheduleOpt: Only get RAW dependences if we asked for raw
llvm-svn: 150574
This commit is contained in:
parent
1e7e2370aa
commit
1e03ad7213
|
@ -431,8 +431,7 @@ bool IslScheduleOptimizer::runOnScop(Scop &S) {
|
|||
ProximityKinds = Dependences::TYPE_RAW | Dependences::TYPE_WAR
|
||||
| Dependences::TYPE_WAW;
|
||||
else if (OptimizeDeps == "raw")
|
||||
ProximityKinds = Dependences::TYPE_RAW | Dependences::TYPE_WAR
|
||||
| Dependences::TYPE_WAW;
|
||||
ProximityKinds = Dependences::TYPE_RAW;
|
||||
else {
|
||||
errs() << "Do not know how to optimize for '" << OptimizeDeps << "'"
|
||||
<< " Falling back to optimizing all dependences.\n";
|
||||
|
|
Loading…
Reference in New Issue