The name "dag" doesn't make sense to me here. We should be calling it something like "globals". All of the extract stuff works by extracting the entire sub-graph needed. http://reviews.llvm.org/D3884 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/