diff options
author | Nikita Popov <npopov@redhat.com> | 2022-06-29 10:42:46 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-06-29 10:45:19 +0200 |
commit | 16033ffdd93c23b53c9429661a0539ed1bb70b97 (patch) | |
tree | 46352a1a75154e838f479e043f9ff27c668e9d8b /llvm/lib/Analysis/Lint.cpp | |
parent | 9d4a2baaa2c304066199ec6644da80aca7638dc6 (diff) | |
download | llvm-16033ffdd93c23b53c9429661a0539ed1bb70b97.zip llvm-16033ffdd93c23b53c9429661a0539ed1bb70b97.tar.gz llvm-16033ffdd93c23b53c9429661a0539ed1bb70b97.tar.bz2 |
[ConstExpr] Remove more leftovers of extractvalue expression (NFC)
Remove some leftover bits of extractvalue handling after the
removal in D125795.
Diffstat (limited to 'llvm/lib/Analysis/Lint.cpp')
-rw-r--r-- | llvm/lib/Analysis/Lint.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Analysis/Lint.cpp b/llvm/lib/Analysis/Lint.cpp index 1f46a21..9cfb91a 100644 --- a/llvm/lib/Analysis/Lint.cpp +++ b/llvm/lib/Analysis/Lint.cpp @@ -686,11 +686,6 @@ Value *Lint::findValueImpl(Value *V, bool OffsetOk, CE->getOperand(0)->getType(), CE->getType(), *DL)) return findValueImpl(CE->getOperand(0), OffsetOk, Visited); - } else if (CE->getOpcode() == Instruction::ExtractValue) { - ArrayRef<unsigned> Indices = CE->getIndices(); - if (Value *W = FindInsertedValue(CE->getOperand(0), Indices)) - if (W != V) - return findValueImpl(W, OffsetOk, Visited); } } |