[all-commits] [llvm/llvm-project] 31ef15: Teach peephole optimizer to not emit sub-register ...

ahsansaghir via All-commits all-commits at lists.llvm.org
Mon Jun 28 07:24:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 31ef15e0442ac13135717179d32f438af5bd6ab1
      https://github.com/llvm/llvm-project/commit/31ef15e0442ac13135717179d32f438af5bd6ab1
  Author: Ahsan Saghir <saghir at ca.ibm.com>
  Date:   2021-06-28 (Mon, 28 Jun 2021)

  Changed paths:
    M llvm/lib/CodeGen/PeepholeOptimizer.cpp
    A llvm/test/CodeGen/PowerPC/peephole-subreg-def.mir

  Log Message:
  -----------
  Teach peephole optimizer to not emit sub-register defs

Peephole optimizer should not be introducing sub-reg definitions
as they are illegal in machine SSA phase. This patch modifies
the optimizer to not emit sub-register definitions.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D103408




More information about the All-commits mailing list