Skip to content

Commit 67d0736

Browse files
author
Chris Jackson
committed
Revert "[DebugInfo][LoopStrengthReduction] SCEV-based salvaging for LSR"
This was reverted due to a reported crash. This reverts commit 796b84d.
1 parent 60e2a50 commit 67d0736

File tree

10 files changed

+83
-947
lines changed

10 files changed

+83
-947
lines changed

llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,6 @@ class SCEVExpander : public SCEVVisitor<SCEVExpander, Value *> {
8383
/// InsertedValues/InsertedPostIncValues.
8484
SmallPtrSet<Value *, 16> ReusedValues;
8585

86-
// The induction variables generated.
87-
SmallVector<WeakVH, 2> InsertedIVs;
88-
8986
/// A memoization of the "relevant" loop for a given SCEV.
9087
DenseMap<const SCEV *, const Loop *> RelevantLoops;
9188

@@ -202,11 +199,9 @@ class SCEVExpander : public SCEVVisitor<SCEVExpander, Value *> {
202199
InsertedPostIncValues.clear();
203200
ReusedValues.clear();
204201
ChainedPhis.clear();
205-
InsertedIVs.clear();
206202
}
207203

208204
ScalarEvolution *getSE() { return &SE; }
209-
const SmallVectorImpl<WeakVH> &getInsertedIVs() const { return InsertedIVs; }
210205

211206
/// Return a vector containing all instructions inserted during expansion.
212207
SmallVector<Instruction *, 32> getAllInsertedInstructions() const {

0 commit comments

Comments
 (0)