[all-commits] [llvm/llvm-project] be6b4f: [HLSL][SPIRV] Fix calling convention for call in e...

Steven Perron via All-commits all-commits at lists.llvm.org
Tue Oct 1 06:29:42 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: be6b4f69799861dc1f175a53c9a15d3c8afd3ed2
      https://github.com/llvm/llvm-project/commit/be6b4f69799861dc1f175a53c9a15d3c8afd3ed2
  Author: Steven Perron <stevenperron at google.com>
  Date:   2024-10-01 (Tue, 01 Oct 2024)

  Changed paths:
    M clang/lib/CodeGen/CGHLSLRuntime.cpp
    M clang/test/CodeGenHLSL/semantics/DispatchThreadID.hlsl

  Log Message:
  -----------
  [HLSL][SPIRV] Fix calling convention for call in entry function. (#110542)

Fix the calling convention used for the call in the entry point
wrapper. No calling convention is currently set. It can easily use the
calling convention of the function that is being called.

Without this, there is a mismatch in the calling convention between the
call site and the callee. This is undefined behaviour.



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