Skip to content
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

[RISCV] Fix the float value to test constantpool lowering under differe… #67297

Merged
merged 1 commit into from
Sep 26, 2023

Conversation

tclin914
Copy link
Contributor

After https://reviews.llvm.org/D142953, the float value 1.0 can be optimized as lui+fmv.w.x. But this test aims to test the constantpool lowering under different code model. Fix the float value to cannot be optimized to lui+fmv.w.x .

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

…rent code model.

After https://reviews.llvm.org/D142953, the float value 1.0 can be optimized as lui+fmv.w.x.
But this test aims to test the constantpool lowering under different code model. Fix the float
value to cannot be optimized to lui+fmv.w.x .
@tclin914 tclin914 merged commit 5e1f5f4 into llvm:main Sep 26, 2023
2 checks passed
@tclin914 tclin914 deleted the codemodel-dev branch September 26, 2023 01:07
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