aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorWilliam Moses <gh@wsmoses.com>2025-05-22 14:13:32 -0500
committerGitHub <noreply@github.com>2025-05-22 14:13:32 -0500
commit6a8dde04a07287f837bbabeb93e23e47af366d3d (patch)
treef5b31b078f67eca8308668397b30355dbd2b4b47 /clang/lib/Frontend/CompilerInvocation.cpp
parent4a6b1fb9dac5bb3a065b1e6e5192c4c7964af7e0 (diff)
downloadllvm-6a8dde04a07287f837bbabeb93e23e47af366d3d.zip
llvm-6a8dde04a07287f837bbabeb93e23e47af366d3d.tar.gz
llvm-6a8dde04a07287f837bbabeb93e23e47af366d3d.tar.bz2
[MLIR] Change getBackwardSlice to return a logicalresult rather than crash (#140961)
The current implementation of getBackwardSlice will crash if an operation in the dependency chain is defined by an operation with multiple regions or blocks. Crashing is bad (and forbids many analyses from using getBackwardSlice, as well as causing existing users of getBackwardSlice to fail for IR with this property). This PR instead causes the analysis to return a failure, rather than crash in the cases it cannot compute the full slice --------- Co-authored-by: Oleksandr "Alex" Zinenko <git@ozinenko.com>
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions