[all-commits] [llvm/llvm-project] 6fe70c: clang/AMDGPU: Force disable block enqueue argument...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Sat Jan 7 10:39:17 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6fe70cb465654eafafd272231e23762adeab4290
      https://github.com/llvm/llvm-project/commit/6fe70cb465654eafafd272231e23762adeab4290
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-01-07 (Sat, 07 Jan 2023)

  Changed paths:
    M clang/lib/CodeGen/TargetInfo.cpp
    A clang/test/CodeGenHIP/default-attributes.hip

  Log Message:
  -----------
  clang/AMDGPU: Force disable block enqueue arguments for HIP

This is a dirty, dirty hack to workaround bot failures at
-O0. Currently these fields are only used by OpenCL features and
evidently the HIP runtime isn't expecting to see them in HIP
programs. The code objects should be language agnostic, so just force
optimize these out until the runtime is fixed.




More information about the All-commits mailing list