dg
dg copied to clipboard
Update LLVMDependenceGraph after module transformations
What is the recommended way to update LLVMDependenceGraph after applying some transformations to a module? Thanks!
Hi,
currently, the only "correct" way is to create the graph again. It also depends on your transformations -- whether they add something or just remove some instructions, or move them? If they just remove, the graph should be usable, if they add or move, there are some changes needed.