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

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Mon Feb 10 13:11:38 PST 2025


  Branch: refs/heads/release/20.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 5b48526fe347235fd6ac8ecc51928749b0e5deda
      https://github.com/llvm/llvm-project/commit/5b48526fe347235fd6ac8ecc51928749b0e5deda
  Author: Jonas Paulsson <paulson1 at linux.ibm.com>
  Date:   2025-02-10 (Mon, 10 Feb 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.

(cherry picked from commit eb1a571114a799f532a12b2f062746d3b92fed88)



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