Skip to content

Commit 1588535

Browse files
author
Artem Gindinson
authored
[SYCL][NFC] Update a misleading comment on IVDep IR generation (#1316)
Signed-off-by: Artem Gindinson <[email protected]>
1 parent 498d56c commit 1588535

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

clang/lib/CodeGen/CGLoopInfo.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -871,8 +871,9 @@ void LoopInfoStack::push(BasicBlock *Header, clang::ASTContext &Ctx,
871871
// legacy GNU attributes and pragma styles.
872872
//
873873
// For attribute ivdep:
874-
// 0 - 'llvm.loop.ivdep.enable' metadata will be emitted
875-
// n - 'llvm.loop.ivdep.safelen, i32 n' metadata will be emitted
874+
// Metadata 'llvm.loop.parallel_access_indices' & index group metadata
875+
// will be emitted, depending on the conditions described at the
876+
// helpers' site
876877
// For attribute ii:
877878
// n - 'llvm.loop.ii.count, i32 n' metadata will be emitted
878879
// For attribute max_concurrency:

0 commit comments

Comments
 (0)