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

jofrn via All-commits all-commits at lists.llvm.org
Fri Jun 12 00:43:47 PDT 2026


  Branch: refs/heads/users/jofrn/atomicexpand-bitcasts-store-vec
  Home:   https://github.com/llvm/llvm-project
  Commit: e398dd7324f0f11fe275b6c12969a29a44ff75b6
      https://github.com/llvm/llvm-project/commit/e398dd7324f0f11fe275b6c12969a29a44ff75b6
  Author: jofrn <jo7frn1 at gmail.com>
  Date:   2026-06-11 (Thu, 11 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