[all-commits] [llvm/llvm-project] 531a0b: [DirectX] Reapply Fix DXIL part header version enc...

Xiang Li via All-commits all-commits at lists.llvm.org
Mon May 13 15:50:41 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 531a0b67ea1ad65ea4d1a99c67fee280beeb8fbb
      https://github.com/llvm/llvm-project/commit/531a0b67ea1ad65ea4d1a99c67fee280beeb8fbb
  Author: Xiang Li <python3kgae at outlook.com>
  Date:   2024-05-13 (Mon, 13 May 2024)

  Changed paths:
    M llvm/include/llvm/BinaryFormat/DXContainer.h
    M llvm/include/llvm/TargetParser/Triple.h
    M llvm/lib/MC/MCDXContainerWriter.cpp
    M llvm/lib/TargetParser/Triple.cpp
    M llvm/test/CodeGen/DirectX/embed-dxil.ll
    M llvm/unittests/Object/DXContainerTest.cpp

  Log Message:
  -----------
  [DirectX] Reapply Fix DXIL part header version encoding (#91956)

This reapplies
https://github.com/llvm/llvm-project/commit/195d8ac26d91ca798733c3a5f58d67992d43503d
[DirectX] Fix DXIL part header version encoding. The endian issue was
fixed by
https://github.com/llvm/llvm-project/commit/f42117c8517cc928c6373bad35ebf75d94fe865b.

Move MinorVersion be the lower 8 bit.
Set DXIL version in DXContainerObjectWriter::writeObject.

Fixes #89952



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