summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
diff options
context:
space:
mode:
authorAlina Sbirlea <asbirlea@google.com>2018-08-14 17:43:24 +0000
committerAlina Sbirlea <asbirlea@google.com>2018-08-14 17:43:24 +0000
commitabf94118c5561171bab909c08ae5b89fada1ffa7 (patch)
tree63d78fb503bef1d341f8e070565533d7f1c18cc3 /llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
parent3d2e5432ae4e483d9c4a08b8cdc8019d383c1379 (diff)
downloadbcm5719-llvm-abf94118c5561171bab909c08ae5b89fada1ffa7.tar.gz
bcm5719-llvm-abf94118c5561171bab909c08ae5b89fada1ffa7.zip
[GraphDiff] Make InverseGraph a property of a GraphDiff.
Summary: Treating a graph in reverse is a property of the GraphDiff and should instead be a template argument, just like IsPostDom is one for DomTrees. If it's just an argument to all methods, we could have mismatches between the constructor of the GraphDiff which may reverse the updates when filtering them, and the calls retrieving the filtered delete/insert updates. Also, since this will be used in IDF, where we're using a DomTree, this creates a cleaner interface for the GraphTraits to use the existing template argument of DomTreeBase. Separate patch from the one adding GraphDiff, so get a clear diff of what changed. Reviewers: timshen, kuhar Subscribers: sanjoy, llvm-commits, jlebar Differential Revision: https://reviews.llvm.org/D50687 llvm-svn: 339699
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud