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. |
mfprovider.tar.gz
Description: GNU Zip compressed data
_______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits