Skip to content

[SPIRV][HLSL] Implement dot lowering  #88056

Closed
@farzonl

Description

@farzonl

Add an intrinsic like this one from

to

def int_spv_all : DefaultAttrsIntrinsic<[llvm_i1_ty], [llvm_any_ty]>;

We won't need dot2,dot3,dot4 for spirv which adds a bit of a complication on our switching, Come with an intrinsic switching behavior that allows for per backend specializations. maybe as a per backend lambda?

update the dot.hlsl unit tests:

// RUN: %clang_cc1 -finclude-default-header -x hlsl -triple \

and implement the OpDot Lowering:
https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#OpDot

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions