[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 12:35:47 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:

Yep, exactly my intent.  I struggled a bit deciding how I could do the NYI without it, but figure I'll remove it once everythign is implemented.

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


More information about the cfe-commits mailing list