diff options
author | Craig Topper <craig.topper@sifive.com> | 2025-01-08 16:19:31 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-08 16:19:31 -0800 |
commit | b0f11dfc7506dd33ad5b43be9faba919b70d1959 (patch) | |
tree | b4d920cc1ce5bd4945271f1a4273a4ac96985cd8 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp | |
parent | b48b99f6253c917a15b698a68c1bf41d15ea6dc6 (diff) | |
download | llvm-b0f11dfc7506dd33ad5b43be9faba919b70d1959.zip llvm-b0f11dfc7506dd33ad5b43be9faba919b70d1959.tar.gz llvm-b0f11dfc7506dd33ad5b43be9faba919b70d1959.tar.bz2 |
[RISCV] Add call preserved regmask to tail calls. (#122181)
Every call should have regmask operand to indicate what registers are
preserved or clobbered by the call. VirtRegRewriter uses this to tell
MachineRegisterInfo what registers are clobbered by a function. If the
mask isn't present the registers potentially clobbered by a tail called
function aren't counted. I have checked ARM, AArch64, and X86 and they
all have a regmask operand on their tail calls.
I believe this fixes an issue I'm seeing with IPRA.
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions