Skip to content

[RISCV] Remove -riscv-v-fixed-length-vector-lmul-max from tests. NFC #78299

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

Conversation

lukel97
Copy link
Contributor

@lukel97 lukel97 commented Jan 16, 2024

Some fixed vector tests in test/CodeGen/RISCV/rvv have multiple run lines that
check various configurations of -riscv-v-fixed-length-vector-lmul-max. From
what I understand this flag was introduced in the early days of fixed length
vector support, but now that fixed vector codegen has matured I'm not sure if
it's as relevant today.

This patch proposes to remove the various lmul-max run lines from the tests to
make them more readable, and any changes to fixed vector codegen easier to
review.

We have removed them before for the same reason, so this would take care of the
remaining test cases: https://reviews.llvm.org/D157973#4593268

(I don't have any strong motivation to remove the actual flag itself, my own
personal motivation is just to clean up the tests)

Some fixed vector tests in test/CodeGen/RISCV/rvv have multiple run lines that
check various configurations of -riscv-v-fixed-length-vector-lmul-max. From
what I understand this flag was introduced in the early days of fixed length
vector support, but now that fixed vector codegen has matured I'm not sure if
it's as relevant today.

This patch proposes to remove the various lmul-max run lines from the tests to
make them more readable, and any changes to fixed vector codegen easier to
review.

We have removed them before for the same reason, so this would take care of the
remaining test cases: https://reviews.llvm.org/D157973#4593268

(I don't have any strong motivation to remove the actual flag itself, my own
personal motivation is just to clean up the tests)
@lukel97
Copy link
Contributor Author

lukel97 commented Feb 14, 2024

Ping

Copy link
Collaborator

@topperc topperc left a comment

Choose a reason for hiding this comment

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

LGTM

@lukel97 lukel97 merged commit 0fee211 into llvm:main Feb 14, 2024
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