llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
29.16k stars 12.03k forks source link

[HLSL] Enable elementwise matrix operations #116712

Open pow2clk opened 5 hours ago

pow2clk commented 5 hours ago

There are a list of elementwise builtins and operators that should permit matrices, but don't currently. This includes implicit type conversions to allow existing HLSL functionality where clang extension matrices currently require that the element types match perfectly. It also involves allowing various HLSL and otherwise __builtin_elementwise* calls to work with matrices.

llvmbot commented 5 hours ago

@llvm/issue-subscribers-clang-codegen

Author: Greg Roth (pow2clk)

There are a list of elementwise builtins and operators that should permit matrices, but don't currently. This includes implicit type conversions to allow existing HLSL functionality where clang extension matrices currently require that the element types match perfectly. It also involves allowing various HLSL and otherwise `__builtin_elementwise*` calls to work with matrices.