[all-commits] [llvm/llvm-project] d37bef: [PowerPC] Remove the redundant implicit operands i...
Zhang Kang via All-commits
all-commits at lists.llvm.org
Sun Jul 19 00:02:42 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d37befdfe5cd93666f8077c32836673ad70385d1
https://github.com/llvm/llvm-project/commit/d37befdfe5cd93666f8077c32836673ad70385d1
Author: Kang Zhang <shkzhang at cn.ibm.com>
Date: 2020-07-19 (Sun, 19 Jul 2020)
Changed paths:
M llvm/lib/Target/PowerPC/PPCEarlyReturn.cpp
M llvm/test/CodeGen/PowerPC/early-ret-verify.mir
M llvm/test/CodeGen/PowerPC/early-ret.mir
Log Message:
-----------
[PowerPC] Remove the redundant implicit operands in ppc-early-ret pass
Summary:
In the `ppc-early-ret` pass, we have use `BuildMI` and `copyImplicitOps` when the branch instructions can do the early return. But the two functions will add implicit operands twice, this is not correct.
This patch is to remove the redundant implicit operands in `ppc-early-ret pass`.
Reviewed By: jsji
Differential Revision: https://reviews.llvm.org/D76042
More information about the All-commits
mailing list