[all-commits] [llvm/llvm-project] 98e307: [HLSL][SPIRV] Add convergence tokens to entry poin...

Steven Perron via All-commits all-commits at lists.llvm.org
Mon Oct 28 10:25:25 PDT 2024


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

  Changed paths:
    M clang/lib/CodeGen/CGHLSLRuntime.cpp
    M clang/lib/CodeGen/CGHLSLRuntime.h
    A clang/test/CodeGenHLSL/convergence/entry.point.hlsl

  Log Message:
  -----------
  [HLSL][SPIRV] Add convergence tokens to entry point wrapper (#112757)

Inlining currently assumes that either all function use controled
convergence or none of them do. This is why we need to have the entry
point wrapper use controled convergence.


https://github.com/llvm/llvm-project/blob/c85611e8583e6392d56075ebdfa60893b6284813/llvm/lib/Transforms/Utils/InlineFunction.cpp#L2431-L2439



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