[llvm] [HLSL] Adding DXIL Target type into `TypedInfo` (PR #164887)

Justin Bogner via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 24 12:29:50 PDT 2025


================
@@ -206,6 +206,13 @@ static dxil::ElementType toDXILElementType(Type *Ty, bool IsSigned) {
   return ElementType::Invalid;
 }
 
+static dxil::ElementType toDXILTargetType(dxil::ElementType ET) {
+  // TODO: Handle unorm, snorm, and packed.
----------------
bogner wrote:

Packed isn't relevant here - this function is only ever interesting for 64 bit types.

https://github.com/llvm/llvm-project/pull/164887


More information about the llvm-commits mailing list