[all-commits] [llvm/llvm-project] 7ca0ce: [DirectX] Preserve all shader-stage bits during DX...

Finn Plummer via All-commits all-commits at lists.llvm.org
Fri Sep 25 12:49:54 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ca0ce59bb82557a3052666562cc8f0d6d03ec41
      https://github.com/llvm/llvm-project/commit/7ca0ce59bb82557a3052666562cc8f0d6d03ec41
  Author: Finn Plummer <mail at inbelic.dev>
  Date:   2026-09-25 (Fri, 25 Sep 2026)

  Changed paths:
    M llvm/lib/Target/DirectX/DXILOpBuilder.cpp
    M llvm/test/CodeGen/DirectX/LoadInput.ll
    M llvm/test/CodeGen/DirectX/StoreOutput.ll

  Log Message:
  -----------
  [DirectX] Preserve all shader-stage bits during DXIL op lowering (#225874)

The vertex-stage bit is above bit 15 and was lost when the mask was
narrowed to uint16_t. This would cause an incorrect lowering error:
https://godbolt.org/z/rEMj8ssK9.

 Corrected by keeping it as a 32 bit value.
 
 Assisted by: ChatGPT 6 Astra



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