Skip to content

Commit 14ab888

Browse files
committed
change comment
1 parent 58e2467 commit 14ab888

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -607,8 +607,7 @@ bool SPIRVEmitIntrinsics::walkLogicalAccessChain(
607607
const std::function<void(Type *, uint64_t)> &OnLiteralIndexing,
608608
const std::function<void(Type *, Value *)> &OnDynamicIndexing) {
609609
// We only rewrite i8* GEP. Other should be left as-is.
610-
// Observation so-far is i8* GEP always have a single index. Making sure
611-
// that's the case.
610+
// Valid i8* GEP must always have a single index.
612611
assert(GEP.getSourceElementType() ==
613612
IntegerType::getInt8Ty(CurrF->getContext()));
614613
assert(GEP.getNumIndices() == 1);

0 commit comments

Comments
 (0)