Uh oh!
There was an error while loading. Please reload this page.
Correct codegen of ConstValue::Indirect scalar and scalar pair - #116102
Conversation
rustbot
commented
Sep 23, 2023
r? @oli-obk (rustbot has picked a reviewer for you, use r? to override) |
oli-obk
commented
Sep 26, 2023
@bors r+ rollup |
bors
commented
Sep 26, 2023
Correct codegen of `ConstValue::Indirect` scalar and scalar pair This concerns 3 tricky cases with `ConstValue::Indirect`: - if we want a non-pointer scalar; - if we have non-zero offset; - if offset points to uninit memory => generate `poison` instead of an ICE. This case could happen in unreachable code, trying to extract a field from the wrong variant. Those cases are not currently emitted by the compiler, but are exercised by rust-lang#116012.
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#116099 (Add regression test for issue rust-lang#79865) - rust-lang#116102 (Correct codegen of `ConstValue::Indirect` scalar and scalar pair) - rust-lang#116131 (Rename `cold_path` to `outline`) - rust-lang#116144 (subst -> instantiate) - rust-lang#116151 (Fix typo in rustdoc unstable features doc) - rust-lang#116153 (Update books) - rust-lang#116162 (Gate and validate `#[rustc_safe_intrinsic]`) r? `@ghost` `@rustbot` modify labels: rollup
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#116099 (Add regression test for issue rust-lang#79865) - rust-lang#116102 (Correct codegen of `ConstValue::Indirect` scalar and scalar pair) - rust-lang#116131 (Rename `cold_path` to `outline`) - rust-lang#116144 (subst -> instantiate) - rust-lang#116151 (Fix typo in rustdoc unstable features doc) - rust-lang#116153 (Update books) - rust-lang#116162 (Gate and validate `#[rustc_safe_intrinsic]`) r? `@ghost` `@rustbot` modify labels: rollup
matthiaskrgr
commented
Sep 26, 2023
@bors rollup=iffy |
bors
commented
Sep 26, 2023
bors
commented
Sep 26, 2023
☀️ Test successful - checks-actions |
rust-timer
commented
Sep 27, 2023
Finished benchmarking commit (5899a80): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 632.697s -> 633.132s (0.07%) |
This concerns 3 tricky cases with
ConstValue::Indirect:poisoninstead of an ICE. This case could happen in unreachable code, trying to extract a field from the wrong variant.Those cases are not currently emitted by the compiler, but are exercised by #116012.