File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ bool APCDistrLimitsChecker::runOnFunction(Function& F) {
212212 LLVM_DEBUG (
213213 dbgs () << " [APC DISTRIBUTION LIMITS]: disable distribution of "
214214 << APCArray->GetName () << " (intrinsic) " ;
215- I.print (dbgs ()); dbgs () << " \n " ); std::wstring MsgEn, MsgRu;
215+ I.print (dbgs ()); dbgs () << " \n " );
216216 toMessages (
217217 I.getDebugLoc (), *APCArray,
218218 L" disable distribution of '%s': unsupported memory access" );
@@ -278,8 +278,9 @@ bool APCDistrLimitsChecker::runOnFunction(Function& F) {
278278 auto *LpStmt{cast<apc::LoopStatement>(APCLoop->loop )};
279279 assert (LpStmt && " IR-level description of a looop must not be null!" );
280280 auto process = [L, &APCCtx, &toMessages](auto &Var) {
281- if (Var.get <MD>())
282- if (auto *APCArray{APCCtx.findArray (Var.get <MD>()->getAsMDNode ())};
281+ if (Var.template get <MD>())
282+ if (auto *APCArray{
283+ APCCtx.findArray (Var.template get <MD>()->getAsMDNode ())};
283284 APCArray && !APCArray->IsNotDistribute ()) {
284285 LLVM_DEBUG (
285286 dbgs ()
You can’t perform that action at this time.
0 commit comments