mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +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:
1 parent
94db57024f
commit
6d2670de22
1 file changed
+4
-2
@@ -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));
|
||||
|
||||
|
||||
Reference in new issue
Block a user