aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
diff options
context:
space:
mode:
authorMatthias Springer <springerm@google.com>2022-08-15 21:04:25 +0200
committerMatthias Springer <springerm@google.com>2022-08-15 21:09:18 +0200
commit31fbdab376a4f90d793d16d4a4523be7d30d2604 (patch)
tree38d2b931917103d2c965ff2eb566448aab674d37 /llvm/lib/Transforms/Utils/SimplifyCFG.cpp
parente86119b4ff42426474828a558d9e5dedb09c4330 (diff)
downloadllvm-31fbdab376a4f90d793d16d4a4523be7d30d2604.zip
llvm-31fbdab376a4f90d793d16d4a4523be7d30d2604.tar.gz
llvm-31fbdab376a4f90d793d16d4a4523be7d30d2604.tar.bz2
[mlir][transforms] Add topological sort analysis
This change add a helper function for computing a topological sorting of a list of ops. E.g. this can be useful in transforms where a subset of ops should be cloned without dominance errors. The analysis reuses the existing implementation in TopologicalSortUtils.cpp. Differential Revision: https://reviews.llvm.org/D131669
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyCFG.cpp')
0 files changed, 0 insertions, 0 deletions