Skip to content

[Backport to 14] Dot product bugfix to include more floating point types#1593

Merged
svenvh merged 1 commit intoKhronosGroup:llvm_release_140from
Quetzonarch:integer-dot-product-bugfix-backport-140
Aug 23, 2022
Merged

[Backport to 14] Dot product bugfix to include more floating point types#1593
svenvh merged 1 commit intoKhronosGroup:llvm_release_140from
Quetzonarch:integer-dot-product-bugfix-backport-140

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 OCLToSPIRV to include more scalar floating point types (e.g. half), as some were omitted by mistake.

…#1578)

Switched the visitCallDot check to use isFloatingPointTy for scalar
floating point operands. Bugfix for previous change regarding
integer dot product.
@svenvh svenvh merged commit 32e6de7 into KhronosGroup:llvm_release_140 Aug 23, 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