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

[Clang][XTHeadVector] support cast between integer and vector booleans #119

Merged
merged 4 commits into from
Jun 16, 2024

Conversation

imkiva
Copy link
Collaborator

@imkiva imkiva commented Jun 14, 2024

Follow-up of #116

Discovered during adapting rvv-intrinsic-doc/rvv-intrinsic-generator/rvv_intrinsic_gen for XTHeadVector.

they are useful as I have seen them in some RVV-related open-source projects, despite the spec saying nothing about it, but since they are simple bit casts with builtin vector operations, it is free to have them after all.

@ChunyuLiao ChunyuLiao merged commit 0587113 into ruyisdk:rebase-17.0.6 Jun 16, 2024
3 checks passed
imkiva added a commit to imkiva/llvm-project that referenced this pull request Feb 24, 2025
ruyisdk#119)

* [Clang][XTHeadVector] support vreinterpret between integer and vector booleans

* [Clang][XTHeadVector] support vreinterpret between integer and vector booleans with wrappers

* [Clang][XTHeadVector] fix tests

* [Clang][XTHeadVector] fix tests
imkiva added a commit to imkiva/llvm-project that referenced this pull request Feb 26, 2025
ruyisdk#119)

* [Clang][XTHeadVector] support vreinterpret between integer and vector booleans

* [Clang][XTHeadVector] support vreinterpret between integer and vector booleans with wrappers

* [Clang][XTHeadVector] fix tests

* [Clang][XTHeadVector] fix tests
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