aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Frontend/CompilerInvocationTest.cpp
diff options
context:
space:
mode:
authorMatthias Springer <me@m-sp.org>2024-11-13 14:58:09 +0900
committerGitHub <noreply@github.com>2024-11-13 14:58:09 +0900
commit804d3c4ce192391ef7ba8724c6b9eff456b5c4b2 (patch)
tree57d8aa0ee00376633aecad4d9293fa0fdd3d9d93 /clang/unittests/Frontend/CompilerInvocationTest.cpp
parent9991ea28fcd308d5bd357358710e5344e26b46e1 (diff)
downloadllvm-804d3c4ce192391ef7ba8724c6b9eff456b5c4b2.zip
llvm-804d3c4ce192391ef7ba8724c6b9eff456b5c4b2.tar.gz
llvm-804d3c4ce192391ef7ba8724c6b9eff456b5c4b2.tar.bz2
[mlir][IR] Add `Block::isReachable` helper function (#114928)
Add a new helper function `isReachable` to `Block`. This function traverses all successors of a block to determine if another block is reachable from the current block. This functionality has been reimplemented in multiple places in MLIR. Possibly additional copies in downstream projects. Therefore, moving it to a common place.
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions