================
@@ -343,11 +420,111 @@ mlir::LogicalResult CIRGenFunction::emitAsmStmt(const 
AsmStmt &s) {
       readOnly = readNone = false;
     }
 
-    if (info.isReadWrite())
-      assert(!cir::MissingFeatures::asmInputOperands());
+    if (info.isReadWrite()) {
+      inOutConstraints += ',';
+      const Expr *inputExpr = s.getOutputExpr(i);
+
+      auto [arg, argElementType] =
----------------
andykaylor wrote:

Maybe a comment here indicating what the types are?

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

Reply via email to