mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
I believe that the code generator now properly handles dead basic blocks. If not,
this is a bug, and should be fixed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14476 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
91a350ddd1
commit
23a53aa9c4
@ -65,10 +65,6 @@ bool X86TargetMachine::addPassesToEmitAssembly(PassManager &PM,
|
||||
// FIXME: Implement the invoke/unwind instructions!
|
||||
PM.add(createLowerInvokePass());
|
||||
|
||||
// FIXME: The code generator does not properly handle functions with
|
||||
// unreachable basic blocks.
|
||||
PM.add(createCFGSimplificationPass());
|
||||
|
||||
// FIXME: Implement the switch instruction in the instruction selector!
|
||||
PM.add(createLowerSwitchPass());
|
||||
|
||||
@ -126,10 +122,6 @@ void X86JITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
|
||||
// FIXME: Implement the invoke/unwind instructions!
|
||||
PM.add(createLowerInvokePass());
|
||||
|
||||
// FIXME: The code generator does not properly handle functions with
|
||||
// unreachable basic blocks.
|
||||
PM.add(createCFGSimplificationPass());
|
||||
|
||||
// FIXME: Implement the switch instruction in the instruction selector!
|
||||
PM.add(createLowerSwitchPass());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user