[all-commits] [llvm/llvm-project] 85c7a7: [DirectX] Don't byte-swap returned byte-offset (#1...

Finn Plummer via All-commits all-commits at lists.llvm.org
Thu Aug 28 10:00:00 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 85c7a7f3b8d9856e6d1e3c63e3a7e387367ed072
      https://github.com/llvm/llvm-project/commit/85c7a7f3b8d9856e6d1e3c63e3a7e387367ed072
  Author: Finn Plummer <mail at inbelic.dev>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M llvm/lib/MC/DXContainerRootSignature.cpp

  Log Message:
  -----------
  [DirectX] Don't byte-swap returned byte-offset (#155860)

- The returned byte offset from `rewriteOffsetToCurrentByte` should not
be byte-swapped as it will be compared and interpreted as a uint32_t in
its uses

This commit corrects build failures that hit an assert on big-endian
builds



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