[all-commits] [llvm/llvm-project] 689e95: [DirectX] Add a GEP to scalar load/store on global...

Deric C. via All-commits all-commits at lists.llvm.org
Thu Jul 17 14:47:07 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 689e95817e1671b0ed6c7f2031fbcf2f81632978
      https://github.com/llvm/llvm-project/commit/689e95817e1671b0ed6c7f2031fbcf2f81632978
  Author: Deric C. <cheung.deric at gmail.com>
  Date:   2025-07-17 (Thu, 17 Jul 2025)

  Changed paths:
    M llvm/lib/Target/DirectX/DXILLegalizePass.cpp
    M llvm/test/CodeGen/DirectX/legalize-load-store-array-alloca.ll
    M llvm/test/CodeGen/DirectX/llc-vector-load-scalarize.ll
    M llvm/test/CodeGen/DirectX/scalar-store.ll

  Log Message:
  -----------
  [DirectX] Add a GEP to scalar load/store on globals and remove incorrect assertion (#149191)

Fixes #149180

This PR removes an assertion that triggered on valid IR. It has been
replaced with an if statement that returns early if the conditions are
not correct.

This PR also adds GEPs to scalar loads and stores from/to global
variables.



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