mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-25 17:20:48 +00:00
PR9214: Convert ConstantExpr::getIndices() to return an ArrayRef, plus
related tweaks to ExprMapKeyType. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129443 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -606,7 +606,7 @@ Value *Lint::findValueImpl(Value *V, bool OffsetOk,
|
||||
Type::getInt64Ty(V->getContext())))
|
||||
return findValueImpl(CE->getOperand(0), OffsetOk, Visited);
|
||||
} else if (CE->getOpcode() == Instruction::ExtractValue) {
|
||||
const SmallVector<unsigned, 4> &Indices = CE->getIndices();
|
||||
ArrayRef<unsigned> Indices = CE->getIndices();
|
||||
if (Value *W = FindInsertedValue(CE->getOperand(0),
|
||||
Indices.begin(),
|
||||
Indices.end()))
|
||||
|
Reference in New Issue
Block a user