[all-commits] [llvm/llvm-project] e6c27b: [Driver][AMDGPU][HIP][SPIRV] Disable optimizations...

Alex Voicu via All-commits all-commits at lists.llvm.org
Thu Sep 18 04:38:28 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e6c27b37d7ed9a00e33ab0ec84f0160617da5cfc
      https://github.com/llvm/llvm-project/commit/e6c27b37d7ed9a00e33ab0ec84f0160617da5cfc
  Author: Alex Voicu <alexandru.voicu at amd.com>
  Date:   2025-09-18 (Thu, 18 Sep 2025)

  Changed paths:
    M clang/lib/Driver/ToolChains/AMDGPU.cpp
    M clang/lib/Driver/ToolChains/HIPAMD.cpp
    M clang/test/Driver/hip-toolchain-no-rdc.hip
    M clang/test/Driver/spirv-amd-toolchain.c

  Log Message:
  -----------
  [Driver][AMDGPU][HIP][SPIRV] Disable optimizations for AMDGCN SPIR-V (#154765)

SPIR-V specific optimizations can inadvertently remove information that
is important for the AMDGPU BE / break certain code patterns we rely on.
Therefore, for AMDGCN flavoured SPIR-V we disable optimizations over IR,
to ensure that we operate directly on the output of Clang CodeGen when
we finalise.



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