[all-commits] [llvm/llvm-project] b7c91a: [SCEV] SCEVExpander::InsertNoopCastOfTo - reduce s...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Fri Oct 30 07:55:49 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: b7c91a9b8e4762c9e052b67fcd3329615309f1d0
https://github.com/llvm/llvm-project/commit/b7c91a9b8e4762c9e052b67fcd3329615309f1d0
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2020-10-30 (Fri, 30 Oct 2020)
Changed paths:
M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
Log Message:
-----------
[SCEV] SCEVExpander::InsertNoopCastOfTo - reduce scope of pointer type. NFCI.
By reducing the scope of the dyn_cast<PointerType> we can make this a cast<PointerType> and avoid clang static analyzer null deference warnings.
More information about the All-commits
mailing list