[PATCH] D113232: [LoopStrengthReduce][NFC]: Check for invalid SCEVUnknowns when processing salvaged SCEVs
Chang Lin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 4 17:44:36 PDT 2021
clin1 created this revision.
clin1 added a reviewer: nikic.
Herald added subscribers: javed.absar, hiraditya.
clin1 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Salvaged SCEVs used to update the debuginfo, may correspond to deleted Values. If a SCEVUnknown's backing Value is deleted, the value pointer is nulled out by VH, and the SCEV becomes invalid for analysis. This should be checked before trying to analyze these salvaged SCEVs.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D113232
Files:
llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
llvm/test/Transforms/LoopStrengthReduce/deleted-debug-phi.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113232.384924.patch
Type: text/x-patch
Size: 5936 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211105/a2a203c8/attachment.bin>
More information about the llvm-commits
mailing list