diff options
Diffstat (limited to 'llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp b/llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp index a0f304659bca..0d36badfa10f 100644 --- a/llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp +++ b/llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp @@ -887,7 +887,7 @@ public:            ConstantInt::get(Type::getInt32Ty(LI->getContext()), 0),            ConstantInt::get(Type::getInt32Ty(LI->getContext()), i),        }; -      int64_t Ofs = DL.getIndexedOffsetInType(Result.VTy, makeArrayRef(Idx, 2)); +      int64_t Ofs = DL.getIndexedOffsetInType(Result.VTy, ArrayRef(Idx, 2));        Result.EI[i] = ElementInfo(Offset + Ofs, i == 0 ? LI : nullptr);      }  | 
