Skip to content

Commit 8d27c2c

Browse files
committed
[SYCL] Fix conflict resoluition in CGLoopInfo
1 parent 5a87103 commit 8d27c2c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/lib/CodeGen/CGLoopInfo.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,9 @@ MDNode *LoopInfo::createMetadata(
628628
Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.intel.pipelining.enable"),
629629
ConstantAsMetadata::get(
630630
ConstantInt::get(llvm::Type::getInt32Ty(Ctx), 1))};
631+
LoopProperties.push_back(MDNode::get(Ctx, Vals));
631632
}
633+
632634
// Setting clang::code_align attribute.
633635
if (Attrs.CodeAlign > 0) {
634636
Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.align"),

0 commit comments

Comments
 (0)