[all-commits] [llvm/llvm-project] 853df3: [AtomicExpand] Add bitcasts when expanding load at...

jofrn via All-commits all-commits at lists.llvm.org
Thu Oct 30 23:58:35 PDT 2025


  Branch: refs/heads/users/jofrn/gt/07-15-_atomicexpand_add_bitcasts_when_expanding_load_atomic_vector
  Home:   https://github.com/llvm/llvm-project
  Commit: 853df3637ae3c0ff8e270da6c58eba29bd091934
      https://github.com/llvm/llvm-project/commit/853df3637ae3c0ff8e270da6c58eba29bd091934
  Author: jofrn <jofernau at amd.com>
  Date:   2025-10-31 (Fri, 31 Oct 2025)

  Changed paths:
    M llvm/include/llvm/Target/TargetSelectionDAG.td
    M llvm/lib/CodeGen/AtomicExpandPass.cpp
    M llvm/lib/Target/X86/X86InstrCompiler.td
    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 load atomic vector

AtomicExpand fails for aligned `load atomic <n x T>` because it
does not find a compatible library call. This change adds appropriate
bitcasts so that the call can be lowered. It also adds support for
128 bit lowering in tablegen to support SSE/AVX.



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