Skip to content

Make all register allocation parameters optional#2855

Merged
xclerc merged 1 commit intomainfrom
regalloc-params-all-optional
Jul 26, 2024
Merged

Make all register allocation parameters optional#2855
xclerc merged 1 commit intomainfrom
regalloc-params-all-optional

Conversation

@xclerc
Copy link
Copy Markdown
Contributor

@xclerc xclerc commented Jul 26, 2024

As per title.

(Having mandatory parameters is useful for
the developer, ensuring everything is explicit
set, but of course this instead puts the burden
on the user.)

@xclerc xclerc added the backend label Jul 26, 2024
@milan-tom milan-tom self-requested a review July 26, 2024 10:58
Copy link
Copy Markdown
Contributor

@milan-tom milan-tom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@xclerc xclerc merged commit 7a297cd into main Jul 26, 2024
@xclerc xclerc deleted the regalloc-params-all-optional branch July 26, 2024 11:19
milan-tom added a commit to milan-tom/flambda-backend that referenced this pull request Jul 26, 2024
milan-tom added a commit to milan-tom/flambda-backend that referenced this pull request Jul 26, 2024
milan-tom added a commit to milan-tom/flambda-backend that referenced this pull request Jul 30, 2024
milan-tom added a commit that referenced this pull request Jul 30, 2024
…2846)

* Fix printing still happening even if -dump-into-csv set

* Dirty fix to avoid outputting profile information when using make install to dump CSVs for whole compiler

* Add scripts to combine profile information for all compiler files

* Automatically detect summary field names from CSV files

* Make output argument clearer

* Remove total aggregation (leave to end user)

* Support displaying data for multiple passes per file (when they both contain counter data)

* Fix pass name prefix sanitisation issue for CSV

* Move units to second header of summary CSV

* Clean up

* Rename script

* Add use case to hack comment

* Inline script to build compiler

* Fix Python file docstring

* Use _profile as dump directory to convey idea of artifacts being generated

* Simplify OCAMLPARAM using #2855

* Move removal completely to script and remove before (with additional checks)

* Remove redundant reverting of environment variables

* Clean up

* Remove unnecessary hack from ocaml/driver/optmaindriver.ml
lukemaurer pushed a commit to lukemaurer/flambda-backend that referenced this pull request Oct 23, 2024
…iles in compiler (oxcaml#2846)

* Fix printing still happening even if -dump-into-csv set

* Dirty fix to avoid outputting profile information when using make install to dump CSVs for whole compiler

* Add scripts to combine profile information for all compiler files

* Automatically detect summary field names from CSV files

* Make output argument clearer

* Remove total aggregation (leave to end user)

* Support displaying data for multiple passes per file (when they both contain counter data)

* Fix pass name prefix sanitisation issue for CSV

* Move units to second header of summary CSV

* Clean up

* Rename script

* Add use case to hack comment

* Inline script to build compiler

* Fix Python file docstring

* Use _profile as dump directory to convey idea of artifacts being generated

* Simplify OCAMLPARAM using oxcaml#2855

* Move removal completely to script and remove before (with additional checks)

* Remove redundant reverting of environment variables

* Clean up

* Remove unnecessary hack from ocaml/driver/optmaindriver.ml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants