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

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 10 10:09:11 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,
----------------
andykaylor wrote:

Why not use `mlir::Location` for `dirLoc`?

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


More information about the cfe-commits mailing list