[PATCH] D134501: [PowerPC] Fix the register allocation hints for ACC registers.
Stefan Pintilie via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 22 16:13:19 PDT 2022
stefanp created this revision.
stefanp added reviewers: nemanjai, lei.
Herald added subscribers: shchenz, kbarton, hiraditya.
Herald added a project: All.
stefanp requested review of this revision.
Herald added a project: LLVM.
The allocation hints for copies of ACC registers assumed that we would only be
copying between VSRp and UACC registers. In reality it is also possible to copy
between UACC and ACC registers.
This patch adds a new case for the ACC copy to fix that issue.
Note that the test case added with this patch will hit an assert without the
fix.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D134501
Files:
llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
llvm/test/CodeGen/PowerPC/mma-acc-copy-hints.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134501.462350.patch
Type: text/x-patch
Size: 8528 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220922/f5ccbf05/attachment.bin>
More information about the llvm-commits
mailing list