[all-commits] [llvm/llvm-project] 7f3787: [PowerPC] Bail out of redundant LI elimination on ...

Nemanja Ivanovic via All-commits all-commits at lists.llvm.org
Thu Apr 9 20:18:00 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f3787c0f2746f7748d642ffc9ce699a295df9e4
      https://github.com/llvm/llvm-project/commit/7f3787c0f2746f7748d642ffc9ce699a295df9e4
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2020-04-09 (Thu, 09 Apr 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCPreEmitPeephole.cpp
    A llvm/test/CodeGen/PowerPC/remove-redundant-li-skip-imp-kill.mir

  Log Message:
  -----------
  [PowerPC] Bail out of redundant LI elimination on an implicit kill

The transformation currently does not differentiate between explicit
and implicit kills. However, it is not valid to later simply clear
an implicit kill flag since the kill could be due to a call or return.

Fixes: https://bugs.llvm.org/show_bug.cgi?id=45374




More information about the All-commits mailing list