[all-commits] [llvm/llvm-project] 28eb5c: [PowerPC] Add patterns for atomic load with immedi...

Kai Nacke via All-commits all-commits at lists.llvm.org
Fri May 29 08:27:35 PDT 2026


  Branch: refs/heads/users/redstar/ppcatomicloadimm
  Home:   https://github.com/llvm/llvm-project
  Commit: 28eb5c48f0752ca28d260f05c9fcf876d8b260d8
      https://github.com/llvm/llvm-project/commit/28eb5c48f0752ca28d260f05c9fcf876d8b260d8
  Author: Kai Nacke <kai.peter.nacke at ibm.com>
  Date:   2026-05-29 (Fri, 29 May 2026)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCInstr64Bit.td
    M llvm/lib/Target/PowerPC/PPCInstrInfo.td
    M llvm/test/CodeGen/PowerPC/all-atomics.ll

  Log Message:
  -----------
  [PowerPC] Add patterns for atomic load with immediates

Adds pattern to use the immediate form of and, or, and xor for
atomic loads. The matching is limited to 16-bit immediates, which
seems to be the most used ones.



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