Repository navigation
Conversation
Contributor
Author
|
!bench |
Collaborator
|
Here are the benchmark results for commit 12f920e. Benchmark Metric Change
========================================================
- iterators branches 1.2% (68.3 σ)
- iterators instructions 1.2% (74.7 σ)
- libleanshared.so binary size 1.8%
- stdlib grind canon 2.5% (57.8 σ)
- stdlib size bytes .ir 2.1%
- stdlib size max dynamic symbols 3.2%
- tests/compiler sum binary sizes 3.3% |
|
Mathlib CI status (docs):
|
Collaborator
|
Reference manual CI status:
|
Contributor
Author
|
!bench |
Contributor
Author
|
I was hoping to do more followup patches to avoid generating more code for |
Collaborator
|
Here are the benchmark results for commit f703e77. Benchmark Metric Change
=================================================================
- bv_decide_mod task-clock 2.8% (21.8 σ)
- bv_decide_mod wall-clock 2.7% (425.9 σ)
- iterators branches 1.2% (48.1 σ)
- iterators instructions 1.2% (50.7 σ)
- libleanshared.so binary size 1.8%
+ riscv-ast.lean wall-clock -7.8% (-50.2 σ)
+ stdlib let-to-have transformation -4.2% (-169.3 σ)
- stdlib size bytes .ir 2.1%
- stdlib size max dynamic symbols 3.2%
- tests/compiler sum binary sizes 3.3% |
Contributor
Author
|
This causes code bloat no matter how I try to slice it, and thus is probably not the right solution to the problem I was having. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR changes
IRType.isObjto return true forerased. This is correct because whenerasedis forced to have a runtime representation, it is a tagged scalar.This has a side effect of allowing erased parameters to be marked borrowed, which fixes correctness problems where relevant data is passed for an erased parameter.