[PATCH] [AArch64] MachO large code-model: Materialize FP constants in code.

Juergen Ributzka juergen at apple.com
Tue Dec 9 16:14:34 PST 2014


Hi Tim,

I have a patch that changes the way how we materialize FP constants in the large code model for AArch64. I used a custom inserter to attach a vreg to the pseudo instruction that materializes the FP constant, because I couldn’t find a way to do it in the tblgen pattern. Do you know a trick to accomplish that?

I am using the vreg, because I want the register allocator to allocate it for me. By the time we replace the pseudo instruction with real ones all the register have been already allocated, so I couldn’t add one later on.

Cheers,
Juergen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-AArch64-MachO-large-code-model-Materialize-FP-consta.patch
Type: application/octet-stream
Size: 12026 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141209/2a807736/attachment.obj>


More information about the llvm-commits mailing list