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

jofrn via All-commits all-commits at lists.llvm.org
Tue Jul 15 10:04:56 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: 2640ffd8739d35c44eb13785c8412274497fb85e
      https://github.com/llvm/llvm-project/commit/2640ffd8739d35c44eb13785c8412274497fb85e
  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