diff options
author | Farzon Lotfi <farzonlotfi@microsoft.com> | 2025-06-27 14:11:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-27 14:11:56 -0400 |
commit | 5dbd8772fed27182902b2cde55221a51a7064b0f (patch) | |
tree | 9e8f8d04d8e5f3a9dd2cd869c83682a8ed457ba1 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 23f1ba3ee456c8d691d1e7aba25de92fb9ba39e6 (diff) | |
download | llvm-5dbd8772fed27182902b2cde55221a51a7064b0f.zip llvm-5dbd8772fed27182902b2cde55221a51a7064b0f.tar.gz llvm-5dbd8772fed27182902b2cde55221a51a7064b0f.tar.bz2 |
[DirectX] add support for i64 buffer load/stores (#145047)
fixes #140321
Specifically it fixes ` error: Cannot create BufferLoad operation:
Invalid overload type`
https://hlsl.godbolt.org/z/dTq4q7o58
but no new DML shaders are building. This change now exposes #144747.
The change does two things it adds i64 support for intrinsic expansion
for the `dx_resource_load_typedbuffer`, and
`dx_resource_store_typedbuffer` intrinsics.
It also lets loaded typedbuffers crash more gracefully because of ` auto
*EVI = cast<ExtractValueInst>(U);` is now a `dyn_cast` and
`llvm_unreachable`.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions