[all-commits] [llvm/llvm-project] 173ec7: [SystemZ] Fix a bug introduced by #135767 (#138280)

Dominik Steenken via All-commits all-commits at lists.llvm.org
Fri May 2 10:01:37 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 173ec728d287f989053bd77521b3497b069c98a2
      https://github.com/llvm/llvm-project/commit/173ec728d287f989053bd77521b3497b069c98a2
  Author: Dominik Steenken <dost at de.ibm.com>
  Date:   2025-05-02 (Fri, 02 May 2025)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp
    M llvm/test/CodeGen/SystemZ/mcount.ll

  Log Message:
  -----------
  [SystemZ] Fix a bug introduced by #135767 (#138280)

Commit `083b4a3d66` introduced a store-and-load pair around the `BRASL`
call to mcount. That load instruction did not properly declare its
target register as defined, leading to a bad machine instruction.

This commit fixes this by explicitly labeling `%r14` on the load as
`def`.



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