[all-commits] [llvm/llvm-project] 46b675: [AMDGPU] Diagnose unaligned atomic (#80322)

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Fri Feb 2 07:41:58 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 46b6756255029f442165148115bad99d04057622
      https://github.com/llvm/llvm-project/commit/46b6756255029f442165148115bad99d04057622
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2024-02-02 (Fri, 02 Feb 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/AMDGPU.cpp
    M clang/lib/Driver/ToolChains/AMDGPU.h
    M clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
    M clang/lib/Driver/ToolChains/HIPAMD.cpp
    M clang/test/Driver/amdgpu-openmp-toolchain.c
    M clang/test/Driver/amdgpu-toolchain-opencl.cl
    M clang/test/Driver/hip-options.hip

  Log Message:
  -----------
  [AMDGPU] Diagnose unaligned atomic (#80322)

AMDGPU does not support unaligned atomics, therefore make the warning an
error.

This patch is transferred from

https://reviews.llvm.org/D99201




More information about the All-commits mailing list