[all-commits] [llvm/llvm-project] c87e0e: [DirectX] Move triple/DL compat to bitcode writer ...

Justin Bogner via All-commits all-commits at lists.llvm.org
Wed Oct 15 12:32:20 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c87e0e8fe0ea14dcd84e835c0f7b02c5b0edca70
      https://github.com/llvm/llvm-project/commit/c87e0e8fe0ea14dcd84e835c0f7b02c5b0edca70
  Author: Justin Bogner <mail at justinbogner.com>
  Date:   2025-10-15 (Wed, 15 Oct 2025)

  Changed paths:
    M llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.cpp
    M llvm/lib/Target/DirectX/DXILWriter/DXILWriterPass.cpp

  Log Message:
  -----------
  [DirectX] Move triple/DL compat to bitcode writer (#163587)

Move our handling of setting up a compatible triple for DXIL to the
bitcode writer itself, and do the same for the datalayout. This avoids
us needing to temporarily change the triple just to change it back, and
it also allows us to make the datalayout truly compatible, including the
`i8:32` alignment that isn't accepted by modern LLVM's DataLayout.



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