Skip to content

Conversation

Artem-B
Copy link
Member

@Artem-B Artem-B commented Sep 25, 2023

Bitwise logical ops can always be done as b32, regardless of availability of
other v2i16 ops, that would need a new GPU.

Includes the missing lowering for 2-argument register operation variants and additional tests for and.

Bitwise logical ops can always be done as b32, regardless of availability of
other v2i16 ops, that would need a new GPU.
Previously we only matched i32 arguments, and were lucky that that's what we
were often getting when an argument was loaded from memory. For computed
arguments, we do need to match v2i16.
Copy link
Contributor

@ThomasRaoux ThomasRaoux left a comment

Choose a reason for hiding this comment

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

LGTM

@Artem-B Artem-B merged commit 671e2ba into llvm:main Sep 25, 2023
@Artem-B Artem-B deleted the v2i16bitops branch September 25, 2023 21:29
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