[all-commits] [llvm/llvm-project] a9f550: [PowerPC] Simplify lowering for ldat intrinsics

Kai Nacke via All-commits all-commits at lists.llvm.org
Mon Apr 27 16:11:28 PDT 2026


  Branch: refs/heads/users/redstar/simplerldat
  Home:   https://github.com/llvm/llvm-project
  Commit: a9f550cab874172b2febc9507834ce8a9bf939de
      https://github.com/llvm/llvm-project/commit/a9f550cab874172b2febc9507834ce8a9bf939de
  Author: Kai Nacke <kai.peter.nacke at ibm.com>
  Date:   2026-04-27 (Mon, 27 Apr 2026)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCInstr64Bit.td

  Log Message:
  -----------
  [PowerPC] Simplify lowering for ldat intrinsics

This change defines 2 new output patterns, `PAIR8` and `EVEN8`,
and uses them to implement the lowering of the intrinsics
`int_ppc_amo_ldat` and `int_ppc_amo_ldat_cond` in TableGen.
As result, the generated instructions are much clearer, and the
C++ code is also simplified.



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