[all-commits] [llvm/llvm-project] becb03: [DirectX] Add DirectXTargetCodeGenInfo (#104856)
Helena Kotas via All-commits
all-commits at lists.llvm.org
Tue Sep 10 12:41:30 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: becb03f3c624a9570fdb3f2d5dee1ed75922e70b
https://github.com/llvm/llvm-project/commit/becb03f3c624a9570fdb3f2d5dee1ed75922e70b
Author: Helena Kotas <hekotas at microsoft.com>
Date: 2024-09-10 (Tue, 10 Sep 2024)
Changed paths:
M clang/lib/CodeGen/CMakeLists.txt
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/CodeGen/TargetInfo.h
A clang/lib/CodeGen/Targets/DirectX.cpp
A clang/test/CodeGenHLSL/builtins/hlsl_resource_t.hlsl
M llvm/lib/IR/Type.cpp
Log Message:
-----------
[DirectX] Add DirectXTargetCodeGenInfo (#104856)
Adds target codegen info class for DirectX. For now it always translates
`__hlsl_resource_t` handle to `target("dx.TypedBuffer", i32, 1, 0, 1)`
(`RWBuffer<int>`). More work is needed to determine the actual target
exp type and parameters based on the resource handle attributes.
Part 1/2 of #95952
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list