[all-commits] [llvm/llvm-project] c0a7cc: [SystemZ] Implement basic `isCopyInstrImpl` (#132903)

Dominik Steenken via All-commits all-commits at lists.llvm.org
Tue Mar 25 07:01:15 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c0a7ccb59acfe90de38c580f52f2691c00f7ea9c
      https://github.com/llvm/llvm-project/commit/c0a7ccb59acfe90de38c580f52f2691c00f7ea9c
  Author: Dominik Steenken <dost at de.ibm.com>
  Date:   2025-03-25 (Tue, 25 Mar 2025)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZInstrFP.td
    M llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
    M llvm/lib/Target/SystemZ/SystemZInstrInfo.h
    M llvm/lib/Target/SystemZ/SystemZInstrInfo.td
    M llvm/lib/Target/SystemZ/SystemZInstrVector.td

  Log Message:
  -----------
  [SystemZ] Implement basic `isCopyInstrImpl` (#132903)

As a first step toward implementing SystemZ support for instr-ref-based
debug info tracking, this commit adds a basic implementation for the
previously absent `SystemZInstrInfo::isCopyInstrImpl`.

This is accomplished by adding a new flag called `isMoveReg` on the
relevant instructions and calling upon that bit of information to
implement the function. Which instructions to add the flag to was based
on the implementation of `SystemZInstrInfo::copyPhysReg`. The full list
of instructions is as follows:

#### General-Purpose Registers
- `lr`
- `lgr`
#### Floating Point Registers
- `ler`
- `ldr`
- `lxr`
#### Vector Registers
- `vlr`



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