Repository navigation
Introduce AssumeVariant pass - #164853
Introduce AssumeVariant pass#164853dianqk wants to merge 3 commits into
Conversation
`AssumeVariant` is used to emit `assume_variant` in the downcast projection, which allows us to know whether the variant of the downcast is the active variant.
|
The job Click to see the possible cause of the failure (guessed by this bot) |
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Introduce AssumeVariant pass
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (791dd00): comparison URL. Overall result: ❌ regressions - please read:Benchmarking means the PR may be perf-sensitive. It's automatically marked not fit for rolling up. Overriding is possible but disadvised: it risks changing compiler perf. Next, please: If you can, justify the regressions found in this try perf run in writing along with @bors rollup=never rustc-perf Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary 0.4%, secondary 0.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 0.1%, secondary 0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 488.652s -> 489.239s (0.12%) |
|
☔ The latest upstream changes (presumably #165244) made this pull request unmergeable. Please resolve the merge conflicts by rebasing. |
Fixes #164069.
Add
assume_variantto the downcast projection. This allows GVN to know the active variant of the place.LLM disclosure: I applied some naming suggestions from LLMs.