search for: 3cafd5e4

Displaying 2 results from an estimated 2 matches for "3cafd5e4".

2012 Dec 03
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...to save/restore RBP across calls? >> Or a way to get its TargetRegisterClass? >> >> Susan >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121203/3cafd5e4/attachment.html>
2012 Dec 03
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
Hi Susan, Thanks for the clarification, and the test case. I think I know what the problem is now. Saving and restoring RBP is the job of the PEI (PrologEpilogInsertion) pass, which runs after register allocation. To determine which callee-saved physregs actually need to be saved it checks MachineRegisterInfo::isPhysRegOrOverlapUsed(unsigned reg). Your register allocator needs to notify