Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/ion/data_structures.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,12 @@ pub struct SpillSet {
pub range: CodeRange,
}

pub(crate) const MAX_SPLITS_PER_SPILLSET: u8 = 2;
/// How many times a bundle (counted per spillset) is split in two before
/// `split_into_minimal_bundles` takes over. That fallback bounds compile time on
/// inputs needing O(|bundle|) splits, but it leaves every gap between uses in the
/// spill bundle, so a long bundle that only needed a few splits to get around
/// call clobbers also spills in the loops it spans.
pub(crate) const MAX_SPLITS_PER_SPILLSET: u8 = 4;

#[derive(Clone, Debug)]
pub struct VRegData {
Expand Down
Loading