Drop 'basic-blocks' feature (#1363)
* All: Drop 'basic-blocks' feature This makes it so that 'basic-blocks' cannot be disabled and we can start assuming it everywhere. * Tests: Replace non-bb filetests with bb version * Tests: Adapt solver-fixedconflict filetests to use basic blocks
This commit is contained in:
@@ -8,7 +8,6 @@ use crate::dominator_tree::DominatorTree;
|
||||
use crate::flowgraph::ControlFlowGraph;
|
||||
use crate::ir::Function;
|
||||
use crate::isa::TargetIsa;
|
||||
#[cfg(feature = "basic-blocks")]
|
||||
use crate::regalloc::branch_splitting;
|
||||
use crate::regalloc::coalescing::Coalescing;
|
||||
use crate::regalloc::coloring::Coloring;
|
||||
@@ -96,10 +95,7 @@ impl Context {
|
||||
self.tracker.clear();
|
||||
|
||||
// Pass: Split branches, add space where to add copy & regmove instructions.
|
||||
#[cfg(feature = "basic-blocks")]
|
||||
{
|
||||
branch_splitting::run(isa, func, cfg, domtree, &mut self.topo);
|
||||
}
|
||||
branch_splitting::run(isa, func, cfg, domtree, &mut self.topo);
|
||||
|
||||
// Pass: Liveness analysis.
|
||||
self.liveness.compute(isa, func, cfg);
|
||||
|
||||
Reference in New Issue
Block a user