[llvm] [LLVM][AArch64]Use load/store with consecutive registers in SME2 or S… (PR #77665)
Momchil Velikov via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 17 05:11:17 PST 2024
================
@@ -2753,6 +2758,16 @@ struct RegPairInfo {
} // end anonymous namespace
+unsigned findFreePredicateAsCounterReg(MachineFunction &MF) {
----------------
momchil-velikov wrote:
This function does not do what it needs to do. A "reserved" register (`isReserved`) means the register is not available to the register allocator, which currently is always true for all the predicate registers.
What we need here is an available register, i.e. a register that does not already contain a useful value.
https://github.com/llvm/llvm-project/pull/77665
More information about the llvm-commits
mailing list