[all-commits] [llvm/llvm-project] 58beb8: [AtomicExpand] Add bitcasts when expanding store a...

jofrn via All-commits all-commits at lists.llvm.org
Fri Jun 5 17:38:40 PDT 2026


  Branch: refs/heads/users/jofrn/atomicexpand-bitcasts-store-vec
  Home:   https://github.com/llvm/llvm-project
  Commit: 58beb830d619bb6c2d0f11bf8dbc792cb211705b
      https://github.com/llvm/llvm-project/commit/58beb830d619bb6c2d0f11bf8dbc792cb211705b
  Author: jofrn <jo7frn1 at gmail.com>
  Date:   2026-06-05 (Fri, 05 Jun 2026)

  Changed paths:
    M llvm/lib/CodeGen/AtomicExpandPass.cpp
    M llvm/test/CodeGen/ARM/atomic-load-store.ll
    M llvm/test/CodeGen/X86/atomic-load-store.ll
    M llvm/test/Transforms/AtomicExpand/X86/expand-atomic-non-integer.ll

  Log Message:
  -----------
  [AtomicExpand] Add bitcasts when expanding store atomic vector

AtomicExpand fails for aligned \`store atomic <n x T>\` because it
does not find a compatible library call. This change adds appropriate
ptrtoint + bitcast so that the call can be lowered, mirroring the
load-side handling from #148900.



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