[all-commits] [llvm/llvm-project] eee024: [PowerPC] Update `incr` after resetting the regist...

bzEq via All-commits all-commits at lists.llvm.org
Fri Apr 14 02:36:46 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eee024bf1bf87e3cb829962cd5b4755f09d80d25
  Author: Kai Luo <lkail at cn.ibm.com>
  Date:   2023-04-14 (Fri, 14 Apr 2023)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/test/CodeGen/PowerPC/all-atomics.ll
    M llvm/test/CodeGen/PowerPC/atomic-minmax.ll
    M llvm/test/CodeGen/PowerPC/pr61882.ll

  Log Message:
  [PowerPC] Update `incr` after resetting the register in MI

After performing signed extension, we update the register in MI. We should also update `incr` register which is tracking the register in `MI`.

Fixes https://github.com/llvm/llvm-project/issues/61882.

Reviewed By: #powerpc, shchenz

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

More information about the All-commits mailing list