[all-commits] [llvm/llvm-project] a688a8: LowerAtomic: Preserve the volatile flag when lower...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Sep 14 15:21:40 PDT 2026


  Branch: refs/heads/users/arsenm/loweratomic/preserve-volatile
  Home:   https://github.com/llvm/llvm-project
  Commit: a688a838620a814b5a3410532e149e2ada8ed6d4
      https://github.com/llvm/llvm-project/commit/a688a838620a814b5a3410532e149e2ada8ed6d4
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-09-15 (Tue, 15 Sep 2026)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/LowerAtomic.h
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Transforms/Utils/LowerAtomic.cpp
    A llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-flat-i64-private-volatile.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-private-gas.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-cmpxchg-flat-maybe-private.ll

  Log Message:
  -----------
  LowerAtomic: Preserve the volatile flag when lowering atomicrmw and cmpxchg

These utility functions built the replacements without copying the volatile
flag from the original instruction.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>



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