add test for codegen of SIMD vector from array repeat#151869
add test for codegen of SIMD vector from array repeat#151869folkertdev wants to merge 1 commit intorust-lang:mainfrom
Conversation
|
rustbot has assigned @Mark-Simulacrum. Use |
This comment has been minimized.
This comment has been minimized.
2423398 to
1369f03
Compare
This comment has been minimized.
This comment has been minimized.
|
Hmm, it is fixed on
Do we consider that fixed? |
|
I did file llvm/llvm-project#178940 for the wasm issue, cc @nikic |
|
For s390x without |
|
I'm a bit out of my depth here, but I would expect the transformation to a vector splat to happen much earlier than that. You're right that it does appear use information about what types are legal for the current target though. |
|
I think this is fine to merge if the test gets qualified with the appropriate architectures or whatever. |
|
@rustbot author Yeah, with appropriate ignore-X added seems OK to approve, though we should probably leave the issue open in that case? |
|
Reminder, once the PR becomes ready for a review, use |
ac7219f to
5e8a380
Compare
|
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. |
This comment has been minimized.
This comment has been minimized.
5e8a380 to
bd770a5
Compare
bd770a5 to
ef7a780
Compare
|
I personally think the issue can be closed because we have and use @rustbot ready |
fixes #97804
It appears that this issue was fixed silently in LLVM 19. The original codegen was terrible, but starting at LLVM 19
optis able to generate good code.https://llvm.godbolt.org/z/5vq8scP6q
cc @programmerjake