[all-commits] [llvm/llvm-project] b3f193: [DivergenceAnalysis] Fix static analyzer warning a...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Sat Jan 8 05:58:05 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b3f193a980f2a96aaca92e73067e86197d226d30
https://github.com/llvm/llvm-project/commit/b3f193a980f2a96aaca92e73067e86197d226d30
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2022-01-08 (Sat, 08 Jan 2022)
Changed paths:
M llvm/lib/Analysis/DivergenceAnalysis.cpp
Log Message:
-----------
[DivergenceAnalysis] Fix static analyzer warning about dereference of nullptr
We're testing that the RegionLoop pointer is null in the first part of the check, so we need to check that its non-null before dereferencing it in a later part of the check.
More information about the All-commits
mailing list