[CodegenCleanup] Use old GVN pass instead of NewGVN
It seems NewGVN still has some problems: llvm.org/PR34452, we will switch back after they have been resolved. llvm-svn: 312480
This commit is contained in:
parent
f331a6642b
commit
1a695b1d6c
|
@ -18,6 +18,8 @@
|
|||
#include "llvm/PassSupport.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include "llvm/Transforms/Scalar.h"
|
||||
#include "llvm/Transforms/Scalar/GVN.h"
|
||||
|
||||
#define DEBUG_TYPE "polly-cleanup"
|
||||
|
||||
using namespace llvm;
|
||||
|
@ -68,7 +70,7 @@ public:
|
|||
FPM->add(createCFGSimplificationPass());
|
||||
FPM->add(createReassociatePass());
|
||||
FPM->add(createLoopRotatePass());
|
||||
FPM->add(createNewGVNPass());
|
||||
FPM->add(createGVNPass());
|
||||
FPM->add(createLICMPass());
|
||||
FPM->add(createLoopUnswitchPass());
|
||||
FPM->add(createCFGSimplificationPass());
|
||||
|
|
Loading…
Reference in New Issue