Commit ece5619f authored by qinsoon's avatar qinsoon

set COPY_WEIGHT to 0

parent 0f303eca
......@@ -165,7 +165,7 @@ impl InterferenceGraph {
fn spillcost_heuristic(ty: NodeType, loop_depth: usize) -> f32 {
const DEF_WEIGHT: f32 = 1f32;
const USE_WEIGHT: f32 = 1f32;
const COPY_WEIGHT: f32 = 2f32;
const COPY_WEIGHT: f32 = 0f32;
let loop_depth = loop_depth as i32;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment