Displaying 1 result from an estimated 1 matches for "getcallpreservedregmask".
2012 Feb 28
0
[LLVMdev] Register mask operands
...der converting as well.
The conversion is quite simple, copy from ARM and X86 as needed:
- Move callee saved register lists to *CallingConv.td by defining CalleeSavedRegs instances. TableGen will produce *_SaveList and *_RegMask arrays. Use them to implement the TRI::getCalleeSavedRegs() and TRI::getCallPreservedRegMask() hooks.
- Fix target-dependent code to understand regmask operands. The target-independent passes have already been fixed.
- Update *TargetLowering::LowerCall() to add a RegisterMaskSDNode operand to call SDNodes.
- Update your fast isel call emission to do the same.
- Remove Defs = […] from c...