Skip to content

[Backport to 9] Dot product bugfix to include more floating point types#1588

Merged
MrSidims merged 1 commit intoKhronosGroup:llvm_release_90from
Quetzonarch:integer-dot-product-bugfix-backport-90
Aug 22, 2022
Merged

[Backport to 9] Dot product bugfix to include more floating point types#1588
MrSidims merged 1 commit intoKhronosGroup:llvm_release_90from
Quetzonarch:integer-dot-product-bugfix-backport-90

Conversation

@Quetzonarch
Copy link
Contributor

Backport of #1578

This is a bugfix for my previous change ( #1174 ) regarding the integer dot product translation.

Slightly changed the check for Dot call in OCL20ToSPIRV to include more scalar floating point types (eg. half), as some were omitted by mistake.

Switched the visitCallDot check to use isFloatingPointTy for scalar
floating point operands. Bugfix for previous change regarding integer
dot product.
@MrSidims MrSidims merged commit f2690f3 into KhronosGroup:llvm_release_90 Aug 22, 2022
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