diff options
| author | Visoiu Mistrih Francis <890283+francisvm@users.noreply.github.com> | 2024-02-06 18:18:49 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-06 18:18:49 -0800 |
| commit | 69a661cbae10495e9556d195fa683c0100ae299c (patch) | |
| tree | c0c10235b520b245d8e38f84a474ee14a0c99a87 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 1aafe7605b295bdb6e9951f4ca86390d306152d2 (diff) | |
[RISCV] Remove CalleeSavedInfo for Zcmp/save-restore-libcalls registers (#79535)
Registers that are pushed/popped by Zcmp or libcalls have pre-defined
frame indices that are never allocated in MachineFrameInfo. They're
being used throughout PEI, but the rest of codegen doesn't work that way
and expects each frame index to be a valid index in MFI.
This patch keeps it local to PEI and removes them from the
CalleeSavedInfo list at the end of the pass.
Before this pass, any MIR testing post-PEI is broken and asserts (see
issue #79491).
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
