[all-commits] [llvm/llvm-project] eb1a57: [SystemZ] Replace SELRMux with COPY in case of ide...

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Fri Jan 31 04:58:22 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eb1a571114a799f532a12b2f062746d3b92fed88
      https://github.com/llvm/llvm-project/commit/eb1a571114a799f532a12b2f062746d3b92fed88
  Author: Jonas Paulsson <paulson1 at linux.ibm.com>
  Date:   2025-01-31 (Fri, 31 Jan 2025)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZPostRewrite.cpp
    A llvm/test/CodeGen/SystemZ/cond-move-10.mir

  Log Message:
  -----------
  [SystemZ] Replace SELRMux with COPY in case of identical operands. (#125108)

If both operands of a SELRMux use the same register which is killed, and
the SELRMux is expanded to a jump sequence, a broken MIR results if the
kill flag is not removed. 

This patch replaces the SELRMux with a COPY in these cases.



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