Skip to content

tests: accept more efficient simd output from LLVM 24 - #162547

Closed
durin42 wants to merge 2 commits into
rust-lang:mainfrom
durin42:llvm-24-vpblendm
Closed

durin42 wants to merge 2 commits into
rust-lang:mainfrom
durin42:llvm-24-vpblendm

Conversation

@durin42

@durin42 durin42 commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

A recent change caused LLVM to identify vpmov*, vpblend* type instructions and merges them into single vblendv* instructions.

An LLM was used to identify the breaking change in the relevant range automatically (and it gave some explanation as to why, which matches the LLVM commit message), but the changes are all mine.

@rustbot label: +llvm-main

A recent change caused LLVM to identify `vpmov*, vpblend*` type
instructions and merges them into single `vblendv*` instructions.
@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 Sep 9, 2026
@rustbot

rustbot commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

r? @khyperia

rustbot has assigned @khyperia.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

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

@rustbot rustbot added the llvm-main Marks PRs that are making Rust work with LLVM main (this label is consumed by CI tooling) label Sep 9, 2026
@durin42

durin42 commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

Oh: I'm not super in love with the "make an extra LLVM23 revision" approach to get this test passing on both 23 and 24 - very open to suggestions of another way to tackle this.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job test-tidy failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
fmt: checked 7258 files
tidy check
tidy [rustdoc_json (src)]: `rustdoc-json-types` modified, checking format version
tidy: Skipping binary file check, read-only filesystem
tidy [style (tests)]: /checkout/tests/assembly-llvm/simd-intrinsic-select.rs:8: line longer than 100 chars
tidy [style (tests)]: /checkout/tests/assembly-llvm/simd-intrinsic-select.rs:12: line longer than 100 chars
tidy [style (tests)]: FAIL
removing old virtual environment
creating virtual environment at '/checkout/obj/build/venv' using 'python3.12' and 'venv'
Requirement already satisfied: pip in ./build/venv/lib/python3.12/site-packages (24.0)
Collecting pip
  Downloading pip-26.2.1-py3-none-any.whl.metadata (4.6 kB)
---
typechecking javascript files
tidy: The following check failed: style (tests)
Bootstrap failed while executing `test src/tools/tidy tidyselftest --extra-checks=py,cpp,js,spellcheck`
Currently active steps:
test::Tidy {  } at src/bootstrap/src/core/build_steps/test.rs:1665
Command `/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools-bin/rust-tidy --root-path=/checkout --cargo-path=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo --output-dir=/checkout/obj/build --concurrency=4 --npm-path=/node/bin/yarn --ci=true --extra-checks=py,cpp,js,spellcheck` failed with exit code 1
Created at: src/bootstrap/src/core/build_steps/tool.rs:1627:23
Executed at: src/bootstrap/src/core/build_steps/test.rs:1747:29

Command has failed. Rerun with -v to see more details.
Build completed unsuccessfully in 0:02:46
  local time: Wed Sep  9 17:31:01 UTC 2026
  network time: Wed, 09 Sep 2026 17:31:01 GMT
##[error]Process completed with exit code 1.
##[group]Run echo "disk usage:"

@khyperia

Copy link
Copy Markdown
Member

sorry, I am, not particularly knowledgeable about what best practice is in codegen tests and whatnot and don't have the confidence to r+ this, rerolling 😅

r? compiler

@rustbot rustbot assigned fee1-dead and unassigned khyperia Sep 10, 2026
@durin42 durin42 closed this Sep 21, 2026
@durin42
durin42 deleted the llvm-24-vpblendm branch September 21, 2026 16:29
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 21, 2026
@durin42

durin42 commented Sep 21, 2026

Copy link
Copy Markdown
Contributor Author

🤦 I didn't mean to close this branch

@durin42

durin42 commented Sep 21, 2026

Copy link
Copy Markdown
Contributor Author

🤦 I didn't mean to close this branch

jhpratt added a commit to jhpratt/rust that referenced this pull request Sep 25, 2026
tests: accept more efficient simd output from LLVM 24

A [recent change](llvm/llvm-project@4200a8e) caused LLVM to identify `vpmov*, vpblend*` type instructions and merges them into single `vblendv*` instructions.

An LLM was used to identify the breaking change in the relevant range automatically (and it gave some explanation as to why, which matches the LLVM commit message), but the changes are all mine.

@rustbot label: +llvm-main

(this is the same as rust-lang#162547, which I accidentally perma-closed by having a misfire while cleaning up git branches in my rust repo)
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Sep 25, 2026
tests: accept more efficient simd output from LLVM 24

A [recent change](llvm/llvm-project@4200a8e) caused LLVM to identify `vpmov*, vpblend*` type instructions and merges them into single `vblendv*` instructions.

An LLM was used to identify the breaking change in the relevant range automatically (and it gave some explanation as to why, which matches the LLVM commit message), but the changes are all mine.

@rustbot label: +llvm-main

(this is the same as rust-lang#162547, which I accidentally perma-closed by having a misfire while cleaning up git branches in my rust repo)
rust-bors Bot pushed a commit that referenced this pull request Sep 25, 2026
Rollup merge of #163128 - durin42:llvm-24-vpblendm, r=nikic

tests: accept more efficient simd output from LLVM 24

A [recent change](llvm/llvm-project@4200a8e) caused LLVM to identify `vpmov*, vpblend*` type instructions and merges them into single `vblendv*` instructions.

An LLM was used to identify the breaking change in the relevant range automatically (and it gave some explanation as to why, which matches the LLVM commit message), but the changes are all mine.

@rustbot label: +llvm-main

(this is the same as #162547, which I accidentally perma-closed by having a misfire while cleaning up git branches in my rust repo)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

llvm-main Marks PRs that are making Rust work with LLVM main (this label is consumed by CI tooling) 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.

5 participants