Skip to content

[Backport to 10] Dot product bugfix to include more floating point types#1589

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

[Backport to 10] Dot product bugfix to include more floating point types#1589
svenvh merged 1 commit intoKhronosGroup:llvm_release_100from
Quetzonarch:integer-dot-product-bugfix-backport-100

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 (e.g. 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.
@svenvh svenvh merged commit f6a9a95 into KhronosGroup:llvm_release_100 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