Skip to content

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