[llvm] Spill/restore FP/BP around instructions in which they are clobbered (PR #81048)
via llvm-commits
llvm-commits at lists.llvm.org
Wed May 1 11:35:50 PDT 2024
================
@@ -963,6 +963,16 @@ class TargetRegisterInfo : public MCRegisterInfo {
return false;
}
+ /// Returns true if the target needs a base register.
----------------
weiguozhi wrote:
Simply implements requiresVirtualBaseRegisters and returns true for X86 doesn't work, it still generates wrong code for i386-baseptr.ll. It needs more changes in different places.
https://github.com/llvm/llvm-project/pull/81048
More information about the llvm-commits
mailing list