Commit be4e027c authored by qinsoon's avatar qinsoon

give copy a slightly higher weight

parent cfac6aa6
Pipeline #1278 passed with stages
in 50 minutes and 33 seconds
......@@ -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 = 1f32;
const COPY_WEIGHT: f32 = 2f32;
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