[llvm-commits] [PATCH] PR746: Make Function not annotatable and get rid of Annotations
Gordon Henriksen
gordonhenriksen at mac.com
Sat Mar 3 23:12:57 PST 2007
This patch eliminates Annotations by using an "analysis" pass as a
bucket to hold onto the MachineFunction generated by instruction
selection. PassManager then releases the memory at the appropriate
time. I find this approach is rather fragile (the caveats are noted
in the header file), but it's much less disruptive than adding direct
support for MachineFunctionPasses to PassManager et al.
Please note that the attachment is a .tar.gz to capture the new
files; it should be untarred in the root of the source tree, and the
patch applied.
— Gordon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070304/7c7a938c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mfprovider.tar.gz
Type: application/x-gzip
Size: 9709 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070304/7c7a938c/attachment.bin>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070304/7c7a938c/attachment-0001.html>
More information about the llvm-commits
mailing list