Files
clang-p2996/llvm/lib/Target/ARM/ARMCallingConv.cpp
Nikita Popov 6fe0fc6034 [CallingConv] Return ArrayRef from AllocateRegBlock() (NFC) (#124120)
Instead of returning the first register, return the ArrayRef containing
the whole block.

Existing users rely on the fact that the register block only contains
adjacently-numbered registers and it's possible to get the remaining
registers in the block by just incrementing the register. Returning an
ArrayRef allows more generic usage with non-adjacent registers.
2025-01-23 16:33:49 +01:00

12 KiB