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

Enhancement of BUILD_VECTOR lowering #258

Open
kaz7 opened this issue Aug 21, 2023 · 0 comments
Open

Enhancement of BUILD_VECTOR lowering #258

kaz7 opened this issue Aug 21, 2023 · 0 comments

Comments

@kaz7
Copy link
Collaborator

kaz7 commented Aug 21, 2023

We need to enhance BUILD_VECTOR in order to improve generated code in llvm/llvm-project#64420.

From:

        lea %s1, 256
        lvl %s1
        vbrd %v0, 0
        or %s1, 4, (0)1
        lvl %s1
        vstl %v0, 4, %s0
        b.l.t (, %s10)

To:

        or %s1, 4, (0)1
        lvl %s1
        vbrd %v0, 0
        vstl %v0, 4, %s0
        b.l.t (, %s10)
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

No branches or pull requests

1 participant