[all-commits] [llvm/llvm-project] f3da02: AtomicExpand: Stop precollecting atomic instructio...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Aug 12 08:11:38 PDT 2024


  Branch: refs/heads/users/arsenm/atomic-expand-stop-precollecting-atomic-instrs
  Home:   https://github.com/llvm/llvm-project
  Commit: f3da02085a32fd6b2a086659cab0cfbca8a27d1c
      https://github.com/llvm/llvm-project/commit/f3da02085a32fd6b2a086659cab0cfbca8a27d1c
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-08-12 (Mon, 12 Aug 2024)

  Changed paths:
    M llvm/lib/CodeGen/AtomicExpandPass.cpp
    M llvm/test/CodeGen/NVPTX/atomics-sm70.ll
    M llvm/test/CodeGen/NVPTX/atomics-sm90.ll
    M llvm/test/CodeGen/PowerPC/all-atomics.ll
    M llvm/test/CodeGen/X86/atomic6432.ll
    M llvm/test/CodeGen/X86/pr5145.ll

  Log Message:
  -----------
  AtomicExpand: Stop precollecting atomic instructions in function

Move the processing of an instruction into a helper function. Also
avoid redundant checking for all types of atomic instructions.
Including the assert, it was effectively performing the same check
3 times.



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