aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-reduce/deltas/StripDebugInfo.cpp
diff options
context:
space:
mode:
authorLongsheng Mou <longshengmou@gmail.com>2025-07-18 09:28:29 +0800
committerGitHub <noreply@github.com>2025-07-18 09:28:29 +0800
commitbaa291bfb58e73a253669b86ac604cf8e6792b6c (patch)
tree6567c4d53ac1d250342b50434b99172fe44f10b5 /llvm/tools/llvm-reduce/deltas/StripDebugInfo.cpp
parent8aa4fc0a9f80475dc0efb2ce14a860f86147d52d (diff)
downloadllvm-baa291bfb58e73a253669b86ac604cf8e6792b6c.zip
llvm-baa291bfb58e73a253669b86ac604cf8e6792b6c.tar.gz
llvm-baa291bfb58e73a253669b86ac604cf8e6792b6c.tar.bz2
[mlir][mesh] Add null check for dyn_cast to prevent crash (#149266)
This PR adds a null check for dyn_cast result before use to prevent crash, and use `isa` instead `dyn_cast` to make code clean. Fixes #148619.
Diffstat (limited to 'llvm/tools/llvm-reduce/deltas/StripDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions