[all-commits] [llvm/llvm-project] 7d3171: [DirectX] Lower ops after translating metadata

Justin Bogner via All-commits all-commits at lists.llvm.org
Tue Dec 17 10:22:57 PST 2024


  Branch: refs/heads/users/bogner/120157
  Home:   https://github.com/llvm/llvm-project
  Commit: 7d317130141d882881fb85a96a5e4d781b2cd7c8
      https://github.com/llvm/llvm-project/commit/7d317130141d882881fb85a96a5e4d781b2cd7c8
  Author: Justin Bogner <mail at justinbogner.com>
  Date:   2024-12-16 (Mon, 16 Dec 2024)

  Changed paths:
    M llvm/lib/Target/DirectX/DXILOpLowering.cpp
    M llvm/lib/Target/DirectX/DXILShaderFlags.cpp
    M llvm/lib/Target/DirectX/DXILTranslateMetadata.cpp
    M llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
    M llvm/test/CodeGen/DirectX/CreateHandle.ll
    M llvm/test/CodeGen/DirectX/CreateHandleFromBinding.ll
    M llvm/test/CodeGen/DirectX/llc-pipeline.ll

  Log Message:
  -----------
  [DirectX] Lower ops after translating metadata

Move the DXILOpLoweringPass after DXILTranslateMetadata, and add asserts
in DXILShaderFlags to ensure it isn't scheduled after op lowering. This
will allow us to rely on DirectX intrinsics in the shader flags analysis
rather than having to recover information from lowered operations.

Fixes #120119.



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