forked from OSchip/llvm-project
For some reason, LICM and GCSE like to crash the FunctionPassManager when they
are being added as FunctionPasses... Sigh. llvm-svn: 9798
This commit is contained in:
parent
59c3985777
commit
a1eefa40dc
|
|
@ -252,8 +252,10 @@ bool UltraSparc::addPassesToJITCompile(FunctionPassManager &PM) {
|
||||||
PM.add(createPreSelectionPass(*this));
|
PM.add(createPreSelectionPass(*this));
|
||||||
// Run basic dataflow optimizations on LLVM code
|
// Run basic dataflow optimizations on LLVM code
|
||||||
PM.add(createReassociatePass());
|
PM.add(createReassociatePass());
|
||||||
PM.add(createLICMPass());
|
|
||||||
PM.add(createGCSEPass());
|
// FIXME: these passes crash the FunctionPassManager when being added...
|
||||||
|
//PM.add(createLICMPass());
|
||||||
|
//PM.add(createGCSEPass());
|
||||||
|
|
||||||
PM.add(createInstructionSelectionPass(*this));
|
PM.add(createInstructionSelectionPass(*this));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue