[clang] [OpenACC][CIR] Implement 'device_type' clause lowering for 'init'/'sh… (PR #135102)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 10 10:29:18 PDT 2025


================
@@ -96,18 +173,21 @@ mlir::LogicalResult CIRGenFunction::emitOpenACCOpAssociatedStmt(
 
 template <typename Op>
 mlir::LogicalResult
-CIRGenFunction::emitOpenACCOp(mlir::Location start,
+CIRGenFunction::emitOpenACCOp(OpenACCDirectiveKind dirKind,
+                              SourceLocation dirLoc, mlir::Location start,
----------------
erichkeane wrote:

Because that location is being used for NYI diagnostics, which take the Clang Source Location, not the mlir Location.

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


More information about the cfe-commits mailing list