Skip to content

Commit fe923f2

Browse files
AlexVlxVictor Lomuller
andauthored
Update llvm/lib/Target/SPIRV/SPIRVTargetMachine.cpp
Co-authored-by: Victor Lomuller <[email protected]>
1 parent a3c88f8 commit fe923f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/SPIRV/SPIRVTargetMachine.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ unsigned SPIRVTargetMachine::getAssumedAddrSpace(const Value *V) const {
125125
const auto *Ptr = LD->getPointerOperand();
126126
if (Ptr->getType()->getPointerAddressSpace() != AddressSpace::UniformConstant)
127127
return UINT32_MAX;
128-
// For a loaded from a pointer to UniformConstant, we can infer CrossWorkgroup
128+
// For a load from a pointer to UniformConstant, we can infer CrossWorkgroup
129129
// storage, as this could only have been legally initialised with a
130130
// CrossWorkgroup (aka device) constant pointer.
131131
return AddressSpace::CrossWorkgroup;

0 commit comments

Comments
 (0)