================
@@ -1140,6 +1145,17 @@ bool
CGOpenMPRuntimeGPU::isDelayedVariableLengthDecl(CodeGenFunction &CGF,
return llvm::is_contained(I->getSecond().DelayedVariableLengthDecls, VD);
}
+bool CGOpenMPRuntimeGPU::canPromoteToNoLoop(
+ const OMPExecutableDirective &D) const {
+ OpenMPDirectiveKind DKind = D.getDirectiveKind();
----------------
nicebert wrote:
It wouldn't change anything here. It only touches the loop construct, mapping
it through its bind clause to for, distribute or simd, so it can never produce
the two kinds this checks for. It's also file-local to CGStmtOpenMP.cpp, so
this file can't call it.
https://github.com/llvm/llvm-project/pull/205325
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits