Skip to content
Snippets Groups Projects

Optimization for miranda

Merged rarbore2 requested to merge miranda_opt into main
4 files
+ 29
4
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -695,7 +695,8 @@ pub fn fork_coalesce_helper(
editor.edit(|mut edit| {
let new_tid = edit.add_node(new_tid);
let edit = edit.replace_all_uses(tid, new_tid)?;
let mut edit = edit.replace_all_uses(tid, new_tid)?;
edit.sub_edit(tid, new_tid);
Ok(edit)
});
}
@@ -1598,3 +1599,8 @@ pub fn clean_monoid_reduces(editor: &mut FunctionEditor, typing: &Vec<TypeID>) {
}
}
}
/*
* Looks for reads in fork-joins that are linear in the thread IDs for the fork-
* join.
*/
Loading