forked from OSchip/llvm-project
We do not need to schedule another loop interchange pass after Polly, as Polly
should perform loop interchanges itself. This also fixes a bug we see due to the "loop-interchange" pass producing incorrect IR when compiling linpack-pc.c from the LLVM test-suite with "-polly-position=before-vectorizer". Reviewed-by: Tobias Grosser <tobias@grosser.es> llvm-svn: 257495
This commit is contained in:
parent
1e26e39579
commit
6ebc01c973
|
@ -68,7 +68,7 @@ public:
|
|||
FPM->add(createIndVarSimplifyPass());
|
||||
FPM->add(createLoopIdiomPass());
|
||||
FPM->add(createLoopDeletionPass());
|
||||
FPM->add(createLoopInterchangePass());
|
||||
FPM->add(createDemoteRegisterToMemoryPass());
|
||||
FPM->add(createCFGSimplificationPass());
|
||||
FPM->add(createSimpleLoopUnrollPass());
|
||||
FPM->add(createMergedLoadStoreMotionPass());
|
||||
|
|
Loading…
Reference in New Issue