================
@@ -54,6 +54,9 @@ inline llvm::raw_ostream &operator<<(llvm::raw_ostream &os,
 #include "mlir/Dialect/LLVMIR/BasicPtxBuilderInterface.h.inc"
 
 namespace mlir {
+namespace LLVM {
+class InlineAsmOp;
----------------
eugeneepshteyn wrote:

(This comment was generated with the help of AI)

Same as the `CallOp` forward declaration in `GPUCommonPass.h`: with only this 
header included, `void f(mlir::NVVM::PtxBuilder &b) { b.build(); }` now fails 
with `calling 'build' with incomplete return type 'LLVM::InlineAsmOp'`, and 
compiles again once `LLVMControlFlowOps.h` is included.


https://github.com/llvm/llvm-project/pull/242307
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to