Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Commit

Permalink
Move safepoint insertion to just after liveness computation
Browse files Browse the repository at this point in the history
  • Loading branch information
stedolan authored and ctk21 committed Feb 29, 2020
1 parent cc5e88b commit 16eb867
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asmcomp/asmgen.ml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ let compile_fundecl (ppf : formatter) fd_cmm =
++ Profile.record ~accumulate:true "cse" CSE.fundecl
++ pass_dump_if ppf dump_cse "After CSE"
++ Profile.record ~accumulate:true "liveness" (liveness ppf)
++ Profile.record ~accumulate:true "polling" Polling.fundecl
++ Profile.record ~accumulate:true "deadcode" Deadcode.fundecl
++ pass_dump_if ppf dump_live "Liveness analysis"
++ Profile.record ~accumulate:true "spill" Spill.fundecl
Expand All @@ -122,7 +123,6 @@ let compile_fundecl (ppf : formatter) fd_cmm =
++ Profile.record ~accumulate:true "liveness" (liveness ppf)
++ Profile.record ~accumulate:true "regalloc" (regalloc ppf 1)
++ Profile.record ~accumulate:true "available_regs" Available_regs.fundecl
++ Profile.record ~accumulate:true "polling" Polling.fundecl
++ Profile.record ~accumulate:true "linearize" Linearize.fundecl
++ pass_dump_linear_if ppf dump_linear "Linearized code"
++ Profile.record ~accumulate:true "scheduling" Scheduling.fundecl
Expand Down

0 comments on commit 16eb867

Please sign in to comment.