Skip to content

Simplify scalable vector testing#2188

Open
sayantn wants to merge 1 commit into
rust-lang:mainfrom
sayantn:intrinsic-test-refactors
Open

Simplify scalable vector testing#2188
sayantn wants to merge 1 commit into
rust-lang:mainfrom
sayantn:intrinsic-test-refactors

Conversation

@sayantn

@sayantn sayantn commented Jul 13, 2026

Copy link
Copy Markdown
Contributor
  • For svbool_t, keep using just XOR and compare to 0 (because the repr is NOT just a contiguous array of bools)
  • For other types, e.g svint8_t, we can convert &svint8_t safely to &[i8] with length svcntb()

This approach seems to work nicely, at least for now (it was indeed failing a few days ago, maybe some LLVM update fixed it recently)

r? @davidtwco

@sayantn sayantn force-pushed the intrinsic-test-refactors branch 2 times, most recently from 4207270 to f3f413d Compare July 13, 2026 22:39
@sayantn sayantn force-pushed the intrinsic-test-refactors branch from f3f413d to 6986e10 Compare July 13, 2026 22:44
@sayantn sayantn changed the title [EXPERIMENT] Simplify scalable vector testing Simplify scalable vector testing Jul 13, 2026
@sayantn sayantn marked this pull request as ready for review July 13, 2026 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants