[all-commits] [llvm/llvm-project] 778b6a: [DirectX] Allow vector Allocas to be transformed i...

Farzon Lotfi via All-commits all-commits at lists.llvm.org
Fri Jun 27 10:13:08 PDT 2025


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

  Changed paths:
    M llvm/lib/Target/DirectX/DXILDataScalarization.cpp
    M llvm/test/CodeGen/DirectX/scalarize-alloca.ll
    M llvm/test/tools/dxil-dis/shuffle.ll

  Log Message:
  -----------
  [DirectX] Allow vector Allocas to be transformed into arrays (#145972)

fixes #145782

This change modifies `isArrayOfVectors` into `isVectorOrArrayOfVectors`.
The previous implementation did not support vector to array
transformations. Further it was too simplistic and didn't assume allocas
would create multidimensional arrays.



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