[all-commits] [llvm/llvm-project] 5dbd87: [DirectX] add support for i64 buffer load/stores (...

Farzon Lotfi via All-commits all-commits at lists.llvm.org
Fri Jun 27 11:12:18 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5dbd8772fed27182902b2cde55221a51a7064b0f
      https://github.com/llvm/llvm-project/commit/5dbd8772fed27182902b2cde55221a51a7064b0f
  Author: Farzon Lotfi <farzonlotfi at microsoft.com>
  Date:   2025-06-27 (Fri, 27 Jun 2025)

  Changed paths:
    M llvm/lib/Target/DirectX/DXILIntrinsicExpansion.cpp
    M llvm/test/CodeGen/DirectX/BufferLoadDouble.ll
    A llvm/test/CodeGen/DirectX/BufferLoadInt64.ll
    A llvm/test/CodeGen/DirectX/BufferStoreInt64.ll

  Log Message:
  -----------
  [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`.



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