[all-commits] [llvm/llvm-project] dc8e89: [DirectX] Convert private global variables to inte...

Kaitlin Peng via All-commits all-commits at lists.llvm.org
Mon Jul 7 10:51:04 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc8e89b2b3787defa9ef1d72014c8a68c1b09a5f
      https://github.com/llvm/llvm-project/commit/dc8e89b2b3787defa9ef1d72014c8a68c1b09a5f
  Author: Kaitlin Peng <kaitlinpeng at microsoft.com>
  Date:   2025-07-07 (Mon, 07 Jul 2025)

  Changed paths:
    M llvm/lib/Target/DirectX/DXILFinalizeLinkage.cpp
    M llvm/test/CodeGen/DirectX/finalize_linkage.ll

  Log Message:
  -----------
  [DirectX] Convert private global variables to internal linkage during Finalize Linkage pass (#146406)

Fixes #140420. The switch.table.* validation errors were caused by DXIL
not supporting private global variables. Converting them to internal
linkage fixes the bug.

May need more discussion on the preserved analyses/a follow-up PR that
fixes what this pass says it preserves.



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