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

jofrn via All-commits all-commits at lists.llvm.org
Fri Apr 25 13:51:46 PDT 2025


  Branch: refs/heads/users/jofrn/spr/main/f430c1af
  Home:   https://github.com/llvm/llvm-project
  Commit: 2dbf42a7a7bcbff59e1f55d19d6bbcf0e59cc3f7
      https://github.com/llvm/llvm-project/commit/2dbf42a7a7bcbff59e1f55d19d6bbcf0e59cc3f7
  Author: jofrn <jofernau at amd.com>
  Date:   2025-04-25 (Fri, 25 Apr 2025)

  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 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.

commit-id:f430c1af



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