[all-commits] [llvm/llvm-project] 2d442d: Fix handling of i8 GEPs in data scalarizer

Deric C. via All-commits all-commits at lists.llvm.org
Fri Jun 27 14:50:03 PDT 2025


  Branch: refs/heads/users/Icohedron/pr-145780
  Home:   https://github.com/llvm/llvm-project
  Commit: 2d442d3e3295c37d149b6b76b69ce3705e4332b9
      https://github.com/llvm/llvm-project/commit/2d442d3e3295c37d149b6b76b69ce3705e4332b9
  Author: Icohedron <cheung.deric at gmail.com>
  Date:   2025-06-25 (Wed, 25 Jun 2025)

  Changed paths:
    M llvm/lib/Target/DirectX/DXILDataScalarization.cpp
    A llvm/test/CodeGen/DirectX/issue-145370-scalarize-i8-gep.ll

  Log Message:
  -----------
  Fix handling of i8 GEPs in data scalarizer

The DXIL data scalarization pass incorrectly replaced instances of i8
GEPs. This commit makes the data scalarization pass change only the type
of the GEP if it was not an i8. i8 GEPs will be handled by the later
DXIL legalization pass.



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