Skip to content

[RISCV] Replace duplicate trunc-sat-clip tests with more interesting tests. NFC #93737

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
May 29, 2024

Conversation

topperc
Copy link
Collaborator

@topperc topperc commented May 29, 2024

For each pair of types, we had 3 identical tests using umin with the unsigned max value.

This patches replaces two of them with smin+smax cases that can be implemented with a signed vmax followed by a vnclipu.

…tests. NFC

For each pair of types, we had 3 identical tests using umin with
the unsigned max value.

This patches replaces two of them with smin+smax cases that can be
implemented with a signed vmax followed by a vnclipu.
@topperc topperc merged commit e06e680 into llvm:main May 29, 2024
8 checks passed
@topperc topperc deleted the pr/sat-clip-tests-sminmax branch May 29, 2024 23:06
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