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

jofrn via All-commits all-commits at lists.llvm.org
Wed Jul 16 06:46:27 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: d661f97c6b40baf8006131278a7b3acb51ef4942
      https://github.com/llvm/llvm-project/commit/d661f97c6b40baf8006131278a7b3acb51ef4942
  Author: jofrn <jofernau at amd.com>
  Date:   2025-07-15 (Tue, 15 Jul 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