[all-commits] [llvm/llvm-project] 04f6db: AtomicExpand: Allow incrementally legalizing atomi...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Aug 29 12:13:07 PDT 2024


  Branch: refs/heads/users/arsenm/atomic-expand-visit-new-blocks
  Home:   https://github.com/llvm/llvm-project
  Commit: 04f6dbb8baa50e487a054e2ad6cfbcc577b94ed6
      https://github.com/llvm/llvm-project/commit/04f6dbb8baa50e487a054e2ad6cfbcc577b94ed6
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/lib/CodeGen/AtomicExpandPass.cpp
    M llvm/test/CodeGen/AArch64/atomicrmw-fadd.ll
    M llvm/test/CodeGen/AArch64/atomicrmw-fmax.ll
    M llvm/test/CodeGen/AArch64/atomicrmw-fmin.ll
    M llvm/test/CodeGen/AArch64/atomicrmw-fsub.ll

  Log Message:
  -----------
  AtomicExpand: Allow incrementally legalizing atomicrmw

If a lowering changed control flow, resume the legalization
loop at the first newly inserted block.

This will allow incrementally legalizing atomicrmw and cmpxchg.

The AArch64 test might be a bugfix. Previously it would lower
the vector FP case as a cmpxchg loop, but cmpxchgs get lowered
but previously weren't. Maybe it shouldn't be reporting cmpxchg
for the expand type in the first place though.



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