[Mlir-commits] [clang] [llvm] [mlir] [OpenMP][OMPIRBuilder] Error propagation across callbacks (PR #112533)

Pranav Bhandarkar llvmlistbot at llvm.org
Mon Oct 21 21:38:57 PDT 2024


================
@@ -5928,8 +5931,10 @@ void CGOpenMPRuntime::emitTargetOutlinedFunctionHelper(
         return CGF.GenerateOpenMPCapturedStmtFunction(CS, D.getBeginLoc());
       };
 
-  OMPBuilder.emitTargetRegionFunction(EntryInfo, GenerateOutlinedFunction,
-                                      IsOffloadEntry, OutlinedFn, OutlinedFnID);
+  llvm::Error Err = OMPBuilder.emitTargetRegionFunction(
----------------
bhandarkar-pranav wrote:

_nit#2_: There is now some inconsistency in the use of `auto` type deduction. Here it isn't used but used previously in seemingly the same circumstances.

https://github.com/llvm/llvm-project/pull/112533


More information about the Mlir-commits mailing list