[PATCH] D147594: [PowerPC] Update `incr` after resetting the register in MI
Kai Luo via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 5 01:33:33 PDT 2023
lkail created this revision.
lkail added reviewers: nemanjai, PowerPC, Amanieu.
Herald added subscribers: shchenz, kbarton, hiraditya.
Herald added a project: All.
lkail requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
After performing signed extension, we reset 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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D147594
Files:
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/test/CodeGen/PowerPC/all-atomics.ll
llvm/test/CodeGen/PowerPC/atomic-minmax.ll
llvm/test/CodeGen/PowerPC/pr61882.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147594.511009.patch
Type: text/x-patch
Size: 4477 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230405/893d8cf6/attachment.bin>
More information about the llvm-commits
mailing list