Skip to content

SLP/RISCV: add negative test for lrint (#55208) #65611

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

artagnon
Copy link
Contributor

@artagnon artagnon commented Sep 7, 2023

The issue #55208 describes a current deficiency of the SLPVectorizer, namely that it doesn't vectorize code written with lrint, while similar code written with rint is vectorized. Add a test corresponding to this issue for the RISC-V target.

@preames
Copy link
Collaborator

preames commented Sep 7, 2023

LGTM w/comment addressed.

Please add a positive test for rint in the same file so the difference is visible.

@preames preames closed this Sep 7, 2023
@preames preames reopened this Sep 7, 2023
Copy link
Collaborator

@preames preames left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM w/comment addressed.

Please add a positive test for rint in the same file so the difference is visible.

The issue llvm#55208 describes a current deficiency of the SLPVectorizer,
namely that it doesn't vectorize code written with lrint, while similar
code written with rint is vectorized. Add a test corresponding to this
issue for the RISC-V target.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants