Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mu-impl-fast
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
40
Issues
40
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
mu
mu-impl-fast
Commits
be4e027c
Commit
be4e027c
authored
Oct 30, 2017
by
qinsoon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
give copy a slightly higher weight
parent
cfac6aa6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
liveness.rs
src/compiler/backend/reg_alloc/graph_coloring/liveness.rs
+1
-1
No files found.
src/compiler/backend/reg_alloc/graph_coloring/liveness.rs
View file @
be4e027c
...
...
@@ -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
=
1
f32
;
const
COPY_WEIGHT
:
f32
=
2
f32
;
let
loop_depth
=
loop_depth
as
i32
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment