[all-commits] [llvm/llvm-project] 9bbf0e: [PowerPC] Fix the implicit operands in PredicateIn...

Zhang Kang via All-commits all-commits at lists.llvm.org
Tue Jul 21 22:51:49 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9bbf0ecff36ef261d92d7d76a3b29d94f59fa65b
      https://github.com/llvm/llvm-project/commit/9bbf0ecff36ef261d92d7d76a3b29d94f59fa65b
  Author: Kang Zhang <shkzhang at cn.ibm.com>
  Date:   2020-07-22 (Wed, 22 Jul 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
    M llvm/test/CodeGen/PowerPC/ifcvt.mir

  Log Message:
  -----------
  [PowerPC] Fix the implicit operands in PredicateInstruction()

Summary:
In the function `PPCInstrInfo::PredicateInstruction()`, we will replace
non-Predicate Instructions to Predicate Instruction. But we forget add
the new implicit operands the new Predicate Instruction needed. This
patch is to fix this.

Reviewed By: jsji, efriedma

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




More information about the All-commits mailing list