]> granicus.if.org Git - llvm/commit
[LSR] Silence static analyzer null dereference warnings with assertions. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 22 Sep 2019 17:59:24 +0000 (17:59 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 22 Sep 2019 17:59:24 +0000 (17:59 +0000)
commit1302423e7e94b1d359ae7b82800ad74a23f6d43e
tree7c6ffb364c8df021a51dcc1a5d73db47f64bcfa6
parent45d7a8821e7ffa83041ad574a9be69fc250a9342
[LSR] Silence static analyzer null dereference warnings with assertions. NFCI.

Add assertions to make it clear that GenerateIVChain / NarrowSearchSpaceByPickingWinnerRegs should succeed in finding non-null values

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372518 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopStrengthReduce.cpp