Skip to content

Commit ef08790

Browse files
committed
Update comment
1 parent 727a051 commit ef08790

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,8 @@ class AMDGPUInformationCache : public InformationCache {
240240
}
241241

242242
private:
243-
/// Check if the ConstantExpr \p CE requires the queue pointer.
243+
/// Check if the ConstantExpr \p CE uses an addrspacecast from private or
244+
/// local to flat. These casts may require the queue pointer.
244245
static uint8_t visitConstExpr(const ConstantExpr *CE) {
245246
uint8_t Status = NONE;
246247

0 commit comments

Comments
 (0)