[PATCH] D139996: [RISCV] Disable callee-saved register when the register is written by llvm.write_register intrinsic
Luís Marques via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 29 14:27:36 PST 2023
luismarques added a comment.
Herald added a subscriber: luke.
In D139996#4000438 <https://reviews.llvm.org/D139996#4000438>, @zixuan-wu wrote:
> Nope, it's not enough. Before this patch, for example
Handling this at the level of `llvm.write_register` seems like attacking the symptom rather than the root cause issue.
Aren't we just missing the logic to not spill the reserved register?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139996/new/
https://reviews.llvm.org/D139996
More information about the llvm-commits
mailing list