[all-commits] [llvm/llvm-project] c23b7c: AtomicExpand: Really allow incremental legalization

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Sep 13 10:36:23 PDT 2024


  Branch: refs/heads/users/arsenm/atomic-expand-really-allow-incremental
  Home:   https://github.com/llvm/llvm-project
  Commit: c23b7cc9aff4e7fce297b94adb982858f68bb016
      https://github.com/llvm/llvm-project/commit/c23b7cc9aff4e7fce297b94adb982858f68bb016
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-09-13 (Fri, 13 Sep 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: Really allow incremental legalization

Fix up 100d9b89947bb1d42af20010bb594fa4c02542fc. The iterator
fixes ended up defeating the point, since newly inserted blocks
were not visited. This never erases the current block, so we can
simply not preincrement the block iterator.

The AArch64 FP atomic tests now expand the cmpxchg in the second
round of legalization.



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