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

jofrn via All-commits all-commits at lists.llvm.org
Thu Jun 4 05:17:58 PDT 2026


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