Skip to content

Conversation

@mahmood82
Copy link
Contributor

Implement OpenCL 6.3j shift semantics for both left and right shifts in CIR. The shift amount is now masked by the bit width of the LHS operand, handling both scalar and vector RHS operands.

Implement OpenCL 6.3j shift semantics for both left and right shifts
in CIR. The shift amount is now masked by the bit width of the LHS
operand, handling both scalar and vector RHS operands.
Copy link
Member

@bcardosolopes bcardosolopes left a comment

Choose a reason for hiding this comment

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

LGTM

@mahmood82
Copy link
Contributor Author

This seems to be ready. Could someone with commit access please merge it?

@seven-mile seven-mile merged commit db506fe into llvm:main Nov 25, 2025
7 checks passed
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.

3 participants