[all-commits] [llvm/llvm-project] 69289c: [PowerPC] Fix broken kill flag after MI peephole

Nemanja Ivanovic via All-commits all-commits at lists.llvm.org
Wed Sep 2 15:08:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 69289cc10ffd1de4d3bf05d33948e6b21b6e68db
      https://github.com/llvm/llvm-project/commit/69289cc10ffd1de4d3bf05d33948e6b21b6e68db
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2020-09-02 (Wed, 02 Sep 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
    M llvm/test/CodeGen/PowerPC/jump-tables-collapse-rotate-remove-SrcMI.mir
    M llvm/test/CodeGen/PowerPC/mi-peephole.mir
    M llvm/test/CodeGen/PowerPC/pr47373.ll

  Log Message:
  -----------
  [PowerPC] Fix broken kill flag after MI peephole

The test case in https://bugs.llvm.org/show_bug.cgi?id=47373 exposed
two bugs in the PPC back end. The first one was fixed in commit
27714075848e7f05a297317ad28ad2570d8e5a43 but the test case had to
be added without -verify-machineinstrs due to the second bug.
This commit fixes the use-after-kill that is left behind by the
PPC MI peephole optimization.




More information about the All-commits mailing list