@@ -556,7 +556,7 @@ MDNode *LoopInfo::createMetadata(
556
556
Metadata *Vals[] = {
557
557
MDString::get (Ctx, " llvm.loop.max_concurrency.count" ),
558
558
ConstantAsMetadata::get (ConstantInt::get (
559
- llvm::Type::getInt32Ty (Ctx), Attrs.SYCLMaxConcurrencyNThreads ))};
559
+ llvm::Type::getInt32Ty (Ctx), * Attrs.SYCLMaxConcurrencyNThreads ))};
560
560
LoopProperties.push_back (MDNode::get (Ctx, Vals));
561
561
}
562
562
@@ -586,7 +586,7 @@ MDNode *LoopInfo::createMetadata(
586
586
Metadata *Vals[] = {MDString::get (Ctx, " llvm.loop.max_interleaving.count" ),
587
587
ConstantAsMetadata::get (ConstantInt::get (
588
588
llvm::Type::getInt32Ty (Ctx),
589
- Attrs.SYCLMaxInterleavingNInvocations ))};
589
+ * Attrs.SYCLMaxInterleavingNInvocations ))};
590
590
LoopProperties.push_back (MDNode::get (Ctx, Vals));
591
591
}
592
592
@@ -601,7 +601,7 @@ MDNode *LoopInfo::createMetadata(
601
601
MDString::get (Ctx, " llvm.loop.intel.speculated.iterations.count" ),
602
602
ConstantAsMetadata::get (
603
603
ConstantInt::get (llvm::Type::getInt32Ty (Ctx),
604
- Attrs.SYCLSpeculatedIterationsNIterations ))};
604
+ * Attrs.SYCLSpeculatedIterationsNIterations ))};
605
605
LoopProperties.push_back (MDNode::get (Ctx, Vals));
606
606
}
607
607
0 commit comments