[all-commits] [llvm/llvm-project] 435ba7: [SystemZ] Simplify handling of AtomicRMW instructi...

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Fri Dec 8 08:19:30 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 435ba72afda756183a1ddc7a3a160152ad630951
      https://github.com/llvm/llvm-project/commit/435ba72afda756183a1ddc7a3a160152ad630951
  Author: Jonas Paulsson <paulson1 at linux.ibm.com>
  Date:   2023-12-08 (Fri, 08 Dec 2023)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
    M llvm/lib/Target/SystemZ/SystemZISelLowering.h
    M llvm/lib/Target/SystemZ/SystemZInstrFormats.td
    M llvm/lib/Target/SystemZ/SystemZInstrInfo.td
    M llvm/test/CodeGen/SystemZ/atomicrmw-add-04.ll
    M llvm/test/CodeGen/SystemZ/atomicrmw-and-03.ll
    M llvm/test/CodeGen/SystemZ/atomicrmw-and-04.ll
    M llvm/test/CodeGen/SystemZ/atomicrmw-minmax-03.ll
    M llvm/test/CodeGen/SystemZ/atomicrmw-minmax-04.ll
    M llvm/test/CodeGen/SystemZ/atomicrmw-nand-03.ll
    M llvm/test/CodeGen/SystemZ/atomicrmw-nand-04.ll
    M llvm/test/CodeGen/SystemZ/atomicrmw-or-04.ll
    M llvm/test/CodeGen/SystemZ/atomicrmw-sub-04.ll
    M llvm/test/CodeGen/SystemZ/atomicrmw-xchg-03.ll
    M llvm/test/CodeGen/SystemZ/atomicrmw-xchg-04.ll
    M llvm/test/CodeGen/SystemZ/atomicrmw-xor-04.ll

  Log Message:
  -----------
  [SystemZ] Simplify handling of AtomicRMW instructions. (#74789)

Let the AtomicExpand pass do more of the job of expanding
AtomicRMWInst:s in order to simplify the handling in the backend.

The only cases that the backend needs to handle itself are those of
subword size (8/16 bits) and those directly corresponding to a target
instruction.




More information about the All-commits mailing list