mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
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:
parent
94db57024f
commit
6d2670de22
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user