Uh oh!
There was an error while loading. Please reload this page.
tests: codegen-llvm: Update bpf-alu32 with the new LLVM attributes - #157249
Conversation
rustbot
commented
Jun 1, 2026
Failed to set assignee to
|
vadorovsky
commented
Jun 1, 2026
Done. Another thing - should I use |
nikic
commented
Jun 1, 2026
It looks like the test was added in 9cf2170 and the purpose seems to basically just be "target features on bpf work". TBH I'm not sure this should be a codegen test at all (at least then it should probably actually check for the But yes, as this is not actually intending to test any ABI behavior on BPF, using |
nagisa
commented
Jun 1, 2026
Agreed, I'm pretty sure we can |
This comment has been minimized.
This comment has been minimized.
vadorovsky
commented
Jun 2, 2026
I would keep the codegen test, but I agree with adding a check for the That said, I also think it would be nice to have a separate UI test for the |
nikic
commented
Jun 2, 2026
Not strictly opposed, but I'm not sure what additional value an UI test would add over the codegen test? |
c249a60 to
06edf3dComparerustbot
commented
Jun 2, 2026
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
vadorovsky
commented
Jun 2, 2026
Probably none. I adjusted the codegen test instead, PTAL. |
Uh oh!
There was an error while loading. Please reload this page.
The LLVM backend now emits `noundef zeroext` on `i8` return values and `noundef` on `i8` parameters. Update the FileCheck pattern to match those, and any possible future attributes.
Instead of keeping it as `only-bpf`, use minicore. This way we make sure it will never get outdated again.
Check whether the `"target-feature"` attribure was actually emitted in LLVM IR.
Make sure that optimizations don't affect the resulting IR.
06edf3d to
177a0ecComparenikic
commented
Jun 4, 2026
@bors r+ rollup |
…uwer Rollup of 5 pull requests Successful merges: - #154586 (Record failed tests with `--record`, and rerun them with `--rerun`) - #157296 (delegation: split resolution and lowering) - #156171 (Fix a coroutine UI test which is missing `#[coroutine]`) - #157249 (tests: codegen-llvm: Update bpf-alu32 with the new LLVM attributes) - #157426 (rustc-dev-guide subtree update)
Uh oh!
There was an error while loading. Please reload this page.
…uwer Rollup of 5 pull requests Successful merges: - rust-lang/rust#154586 (Record failed tests with `--record`, and rerun them with `--rerun`) - rust-lang/rust#157296 (delegation: split resolution and lowering) - rust-lang/rust#156171 (Fix a coroutine UI test which is missing `#[coroutine]`) - rust-lang/rust#157249 (tests: codegen-llvm: Update bpf-alu32 with the new LLVM attributes) - rust-lang/rust#157426 (rustc-dev-guide subtree update)
…u32, r=nikic tests: codegen-llvm: Update bpf-alu32 with the new LLVM attributes The LLVM backend now emits `noundef zeroext` on `i8` return values and `noundef` on `i8` parameters. Update the FileCheck pattern to match. r? @nagisa
…nathanBrouwer Rollup of 5 pull requests Successful merges: - rust-lang#154586 (Record failed tests with `--record`, and rerun them with `--rerun`) - rust-lang#157296 (delegation: split resolution and lowering) - rust-lang#156171 (Fix a coroutine UI test which is missing `#[coroutine]`) - rust-lang#157249 (tests: codegen-llvm: Update bpf-alu32 with the new LLVM attributes) - rust-lang#157426 (rustc-dev-guide subtree update)
The LLVM backend now emits
noundef zeroextoni8return values andnoundefoni8parameters. Update the FileCheck pattern to match.r? @nagisa