Open Quuxplusone opened 10 years ago
Attached rip.ll
(741 bytes, application/octet-stream): Test case -- reproduce with "llc rip.ll"
LivePhysRegs should not be tracking reserved registers. This should be a simple fix, but Juergen may want to verify that current stackmap users (WebKit) don't expect any reserved registers in the live set (they should know better than to clobber SP/FP). We may want to unconditionally add the base pointer to the stackmap live set if hasBasePointer() is true.
In general, if the register is reserved per the platform ABI, we should not need to add it to the stackmap. If it is reserved for LLVM internal use, then we probably should add it.
rip.ll
(741 bytes, application/octet-stream)