For some reason, LICM and GCSE like to crash the FunctionPassManager when they

are being added as FunctionPasses... Sigh.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9798 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Misha Brukman 2003-11-08 00:01:39 +00:00
parent 94db57024f
commit 6d2670de22

View File

@ -252,8 +252,10 @@ bool UltraSparc::addPassesToJITCompile(FunctionPassManager &PM) {
PM.add(createPreSelectionPass(*this));
// Run basic dataflow optimizations on LLVM code
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));