[all-commits] [llvm/llvm-project] 9ab4c1: [DirectX] Array GEPs need two indices (#142853)

Farzon Lotfi via All-commits all-commits at lists.llvm.org
Wed Jun 4 18:50:29 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ab4c16042a38d5b80084afff52699e246ca9ea8
      https://github.com/llvm/llvm-project/commit/9ab4c16042a38d5b80084afff52699e246ca9ea8
  Author: Farzon Lotfi <farzonlotfi at microsoft.com>
  Date:   2025-06-04 (Wed, 04 Jun 2025)

  Changed paths:
    M llvm/lib/Target/DirectX/DXILFlattenArrays.cpp
    M llvm/test/CodeGen/DirectX/flatten-array.ll
    M llvm/test/CodeGen/DirectX/flatten-bug-117273.ll
    M llvm/test/CodeGen/DirectX/llc-vector-load-scalarize.ll
    M llvm/test/CodeGen/DirectX/scalar-bug-117273.ll

  Log Message:
  -----------
  [DirectX] Array GEPs need two indices (#142853)

partially fixes #142836
- Update DXILFlattenArrays.cpp GEPs to use two indicies since they are
array GEPs
- Update flatten test cases
- This change reduces dxv bitcast validation errors by 364 (Total now is
1070x)
- This change reduces dxv out of bounds validation errors by 124 (Total
is now 24)
- We are also able to successfully compile 4 more shaders



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