Skip to content

Add FileCheck annotations for matches_u8.rs - #162068

Open
joseph-isaacs wants to merge 1 commit into
rust-lang:mainfrom
joseph-isaacs:ji/filecheck-matches-u8
Open

Add FileCheck annotations for matches_u8.rs#162068
joseph-isaacs wants to merge 1 commit into
rust-lang:mainfrom
joseph-isaacs:ji/filecheck-matches-u8

Conversation

@joseph-isaacs

@joseph-isaacs joseph-isaacs commented Aug 31, 2026

Copy link
Copy Markdown

Adds checkfile annotations to matches_u8.rs (part of #116971).

This test asserts that MatchBranchSimplification removes branching and replaces with switchInt (done in unify_by_int_to_int).

I was unsure if I should check _0 = {{.*}} as i8/u8 (IntToInt) since its part of the implementation of the transform however it would be good to the conversion respects the function signature.

r? cjgillot

@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 Aug 31, 2026
@rustbot

rustbot commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

Thanks for the pull request, and welcome! The Rust Project has assigned @jackh726 (or someone else) to review your changes, you should hear from them (or someone else) within the next two weeks.

Please see the contribution instructions and our LLM policy for more information.

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: compiler
  • compiler expanded to 75 candidates
  • Random selection from 19 candidates

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

Labels

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants