mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-16 00:17:32 +00:00
Add comment as follow up to r245712
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245730 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2071d7abd9
commit
5e8c2097ae
@ -1999,6 +1999,7 @@ static bool isInBoundsIndices(ArrayRef<IndexTy> Idxs) {
|
||||
/// \brief Test whether a given ConstantInt is in-range for a SequentialType.
|
||||
static bool isIndexInRangeOfSequentialType(SequentialType *STy,
|
||||
const ConstantInt *CI) {
|
||||
// And indicies are valid when indexing along a pointer
|
||||
if (isa<PointerType>(STy))
|
||||
return true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user