@@ -556,7 +556,7 @@ MDNode *LoopInfo::createMetadata(
556556 Metadata *Vals[] = {
557557 MDString::get (Ctx, " llvm.loop.max_concurrency.count" ),
558558 ConstantAsMetadata::get (ConstantInt::get (
559- llvm::Type::getInt32Ty (Ctx), Attrs.SYCLMaxConcurrencyNThreads ))};
559+ llvm::Type::getInt32Ty (Ctx), * Attrs.SYCLMaxConcurrencyNThreads ))};
560560 LoopProperties.push_back (MDNode::get (Ctx, Vals));
561561 }
562562
@@ -586,7 +586,7 @@ MDNode *LoopInfo::createMetadata(
586586 Metadata *Vals[] = {MDString::get (Ctx, " llvm.loop.max_interleaving.count" ),
587587 ConstantAsMetadata::get (ConstantInt::get (
588588 llvm::Type::getInt32Ty (Ctx),
589- Attrs.SYCLMaxInterleavingNInvocations ))};
589+ * Attrs.SYCLMaxInterleavingNInvocations ))};
590590 LoopProperties.push_back (MDNode::get (Ctx, Vals));
591591 }
592592
@@ -601,7 +601,7 @@ MDNode *LoopInfo::createMetadata(
601601 MDString::get (Ctx, " llvm.loop.intel.speculated.iterations.count" ),
602602 ConstantAsMetadata::get (
603603 ConstantInt::get (llvm::Type::getInt32Ty (Ctx),
604- Attrs.SYCLSpeculatedIterationsNIterations ))};
604+ * Attrs.SYCLSpeculatedIterationsNIterations ))};
605605 LoopProperties.push_back (MDNode::get (Ctx, Vals));
606606 }
607607
0 commit comments