[PATCH] Move ownership of GCStrategy objects to LLVMContext
Philip Reames
listmail at philipreames.com
Thu Jan 15 14:43:47 PST 2015
Updates based on Chandlers comments. GCStrategy is completely moved into IR. I haven't gone through and fixed all the comments yet, but will do so once this lands.
Note that this is dependent on http://reviews.llvm.org/D7004 and that supporting refactoring (splitting GCStrategy.cpp into two files) already landing.
I would also like to get rid of the performCustomLowering mechanism, but that should not block this and will require a bit more thought.
http://reviews.llvm.org/D6811
Files:
include/llvm/CodeGen/GCMetadata.h
include/llvm/CodeGen/GCMetadataPrinter.h
include/llvm/CodeGen/GCStrategy.h
include/llvm/IR/Function.h
include/llvm/IR/GCStrategy.h
lib/CodeGen/ErlangGC.cpp
lib/CodeGen/GCMetadata.cpp
lib/CodeGen/GCRootLowering.cpp
lib/CodeGen/GCStrategy.cpp
lib/CodeGen/OcamlGC.cpp
lib/CodeGen/Passes.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
lib/CodeGen/SelectionDAG/StatepointLowering.cpp
lib/CodeGen/ShadowStackGC.cpp
lib/CodeGen/StatepointExampleGC.cpp
lib/IR/Function.cpp
lib/IR/GCStrategy.cpp
lib/IR/LLVMContextImpl.cpp
lib/IR/LLVMContextImpl.h
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6811.18263.patch
Type: text/x-patch
Size: 31932 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150115/b3c59cda/attachment.bin>
More information about the llvm-commits
mailing list