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:
Roman Gareev 2016-01-12 17:59:06 +00:00
parent 1e26e39579
commit 6ebc01c973
1 changed files with 1 additions and 1 deletions

View File

@ -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());