aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2025-01-08 16:19:31 -0800
committerGitHub <noreply@github.com>2025-01-08 16:19:31 -0800
commitb0f11dfc7506dd33ad5b43be9faba919b70d1959 (patch)
treeb4d920cc1ce5bd4945271f1a4273a4ac96985cd8 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
parentb48b99f6253c917a15b698a68c1bf41d15ea6dc6 (diff)
downloadllvm-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