[all-commits] [llvm/llvm-project] 93d2a2: [DirectX] Run DXILFinalizeLinkage earlier in the p...

Justin Bogner via All-commits all-commits at lists.llvm.org
Mon Dec 2 12:08:37 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 93d2a2caf63ee9c3dab8b3e0a1b54a9ba484714d
      https://github.com/llvm/llvm-project/commit/93d2a2caf63ee9c3dab8b3e0a1b54a9ba484714d
  Author: Justin Bogner <mail at justinbogner.com>
  Date:   2024-12-02 (Mon, 02 Dec 2024)

  Changed paths:
    M llvm/lib/Target/DirectX/DXILFinalizeLinkage.cpp
    M llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
    M llvm/test/CodeGen/DirectX/BufferStore-errors.ll
    A llvm/test/CodeGen/DirectX/finalize-linkage-intrinsics.ll
    M llvm/test/CodeGen/DirectX/llc-pipeline.ll

  Log Message:
  -----------
  [DirectX] Run DXILFinalizeLinkage earlier in the pipeline (#117950)

This moves DXILFinalizeLinkage before the DXIL op lowering passes so
that it doesn't end up internalizing any of the `dx.op.*` functions.
This also exposed a bug when the pass is run on a module with intrinsics
in them - marking the intrinsics as internal will fail the validator.

Fixes #117761



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