Skip to content

mGCA: Lower negated literals directly and reject non-integer negations#153075

Merged
rust-bors[bot] merged 3 commits intorust-lang:mainfrom
reddevilmidzy:mgca-neg
Feb 26, 2026
Merged

mGCA: Lower negated literals directly and reject non-integer negations#153075
rust-bors[bot] merged 3 commits intorust-lang:mainfrom
reddevilmidzy:mgca-neg

Conversation

@reddevilmidzy
Copy link
Member

@reddevilmidzy reddevilmidzy commented Feb 25, 2026

follow up #152001
resolve: #152246

r? BoxyUwU

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Feb 25, 2026
@rustbot
Copy link
Collaborator

rustbot commented Feb 25, 2026

BoxyUwU is currently at their maximum review capacity.
They may take a while to respond.

@BoxyUwU
Copy link
Member

BoxyUwU commented Feb 25, 2026

@bors r+

@rust-bors
Copy link
Contributor

rust-bors bot commented Feb 25, 2026

📌 Commit d2619b5 has been approved by BoxyUwU

It is now in the queue for this repository.

@rust-bors rust-bors bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 25, 2026
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Feb 25, 2026
mGCA: Lower negated literals directly and reject non-integer negations

follow up rust-lang#152001
resolve: rust-lang#152246

r? BoxyUwU
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Feb 25, 2026
mGCA: Lower negated literals directly and reject non-integer negations

follow up rust-lang#152001
resolve: rust-lang#152246

r? BoxyUwU
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Feb 25, 2026
mGCA: Lower negated literals directly and reject non-integer negations

follow up rust-lang#152001
resolve: rust-lang#152246

r? BoxyUwU
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Feb 25, 2026
mGCA: Lower negated literals directly and reject non-integer negations

follow up rust-lang#152001
resolve: rust-lang#152246

r? BoxyUwU
rust-bors bot pushed a commit that referenced this pull request Feb 25, 2026
…uwer

Rollup of 13 pull requests

Successful merges:

 - #153079 (Revert "Move aarch64-apple dist builder to dynamic llvm linking")
 - #148146 (CI: use alternative disks if available)
 - #149937 (spliit out `linker-info` from `linker-messages`)
 - #151771 (Fix: On wasm targets, call `panic_in_cleanup` if panic occurs in cleanup)
 - #153035 (rustc_target: callconv: powerpc64: Use llvm_abiname rather than target_abi for ABI determination)
 - #153075 (mGCA: Lower negated literals directly and reject non-integer negations)
 - #153078 (Remove `QuerySystemFns`)
 - #149978 (deprecate `Eq::assert_receiver_is_total_eq` and emit FCW on manual impls)
 - #153029 (Rename `rustc::pass_by_value` lint as `rustc::disallowed_pass_by_ref`.)
 - #153063 (`is_ty_must_use`: do not require a `span` argument)
 - #153071 (Update books)
 - #153092 (Remove redundant self usages)
 - #153094 (Simplify `AppendOnlyVec` iterators)

Failed merges:

 - #153091 (Migration of `LintDiagnostic` - part 4)
rust-bors bot pushed a commit that referenced this pull request Feb 26, 2026
Rollup of 13 pull requests

Successful merges:

 - #148146 (CI: use alternative disks if available)
 - #151771 (Fix: On wasm targets, call `panic_in_cleanup` if panic occurs in cleanup)
 - #153035 (rustc_target: callconv: powerpc64: Use llvm_abiname rather than target_abi for ABI determination)
 - #153075 (mGCA: Lower negated literals directly and reject non-integer negations)
 - #153078 (Remove `QuerySystemFns`)
 - #153089 (interpret: avoid dummy spans in the stacktrace)
 - #153111 (Refactor url_parts to return is_absolute instead of out param)
 - #149978 (deprecate `Eq::assert_receiver_is_total_eq` and emit FCW on manual impls)
 - #153029 (Rename `rustc::pass_by_value` lint as `rustc::disallowed_pass_by_ref`.)
 - #153063 (`is_ty_must_use`: do not require a `span` argument)
 - #153071 (Update books)
 - #153092 (Remove redundant self usages)
 - #153094 (Simplify `AppendOnlyVec` iterators)

Failed merges:

 - #153091 (Migration of `LintDiagnostic` - part 4)
@rust-bors rust-bors bot merged commit cd09c56 into rust-lang:main Feb 26, 2026
11 checks passed
@rustbot rustbot added this to the 1.95.0 milestone Feb 26, 2026
rust-timer added a commit that referenced this pull request Feb 26, 2026
Rollup merge of #153075 - reddevilmidzy:mgca-neg, r=BoxyUwU

mGCA: Lower negated literals directly and reject non-integer negations

follow up #152001
resolve: #152246

r? BoxyUwU
@reddevilmidzy reddevilmidzy deleted the mgca-neg branch February 26, 2026 08:58
@JonathanBrouwer
Copy link
Contributor

@rust-timer build eb9365b

@rust-timer

This comment has been minimized.

RalfJung pushed a commit to RalfJung/miri that referenced this pull request Feb 26, 2026
Rollup of 13 pull requests

Successful merges:

 - rust-lang/rust#148146 (CI: use alternative disks if available)
 - rust-lang/rust#151771 (Fix: On wasm targets, call `panic_in_cleanup` if panic occurs in cleanup)
 - rust-lang/rust#153035 (rustc_target: callconv: powerpc64: Use llvm_abiname rather than target_abi for ABI determination)
 - rust-lang/rust#153075 (mGCA: Lower negated literals directly and reject non-integer negations)
 - rust-lang/rust#153078 (Remove `QuerySystemFns`)
 - rust-lang/rust#153089 (interpret: avoid dummy spans in the stacktrace)
 - rust-lang/rust#153111 (Refactor url_parts to return is_absolute instead of out param)
 - rust-lang/rust#149978 (deprecate `Eq::assert_receiver_is_total_eq` and emit FCW on manual impls)
 - rust-lang/rust#153029 (Rename `rustc::pass_by_value` lint as `rustc::disallowed_pass_by_ref`.)
 - rust-lang/rust#153063 (`is_ty_must_use`: do not require a `span` argument)
 - rust-lang/rust#153071 (Update books)
 - rust-lang/rust#153092 (Remove redundant self usages)
 - rust-lang/rust#153094 (Simplify `AppendOnlyVec` iterators)

Failed merges:

 - rust-lang/rust#153091 (Migration of `LintDiagnostic` - part 4)
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (eb9365b): comparison URL.

Overall result: no relevant changes - no action needed

Benchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf.

@bors rollup=never
@rustbot label: -S-waiting-on-perf -perf-regression

Instruction count

This benchmark run did not return any relevant results for this metric.

Max RSS (memory usage)

Results (primary -5.8%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-5.8% [-5.8%, -5.8%] 1
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) -5.8% [-5.8%, -5.8%] 1

Cycles

Results (primary -2.3%, secondary -9.4%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-2.3% [-2.3%, -2.3%] 1
Improvements ✅
(secondary)
-9.4% [-16.6%, -2.2%] 2
All ❌✅ (primary) -2.3% [-2.3%, -2.3%] 1

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 492.161s -> 479.317s (-2.61%)
Artifact size: 395.78 MiB -> 395.79 MiB (0.00%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mGCA: remove parser special case for literals

5 participants