[all-commits] [llvm/llvm-project] 30d639: [PowerPC] Fix the register allocation hints for AC...
stefanp-ibm via All-commits
all-commits at lists.llvm.org
Tue Oct 4 18:30:33 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 30d639180f6715f2fafcac5b4893d8ffbc61733f
https://github.com/llvm/llvm-project/commit/30d639180f6715f2fafcac5b4893d8ffbc61733f
Author: Stefan Pintilie <stefanp at ca.ibm.com>
Date: 2022-10-04 (Tue, 04 Oct 2022)
Changed paths:
M llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
A llvm/test/CodeGen/PowerPC/mma-acc-copy-hints.ll
Log Message:
-----------
[PowerPC] Fix the register allocation hints for ACC registers.
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.
Reviewed By: lei, amyk
Differential Revision: https://reviews.llvm.org/D134501
More information about the All-commits
mailing list