[Mlir-commits] [mlir] [MLIR][LLVM] Tail call support for inline asm op (PR #140826)

Bruno Cardoso Lopes llvmlistbot at llvm.org
Wed May 21 11:04:56 PDT 2025


================
@@ -2201,6 +2201,10 @@ LogicalResult ModuleImport::convertInstruction(llvm::Instruction *inst) {
                 builder.getStringAttr(asmI->getAsmString()),
                 builder.getStringAttr(asmI->getConstraintString()),
                 asmI->hasSideEffects(), asmI->isAlignStack(),
+                callInst->isTailCall()
+                    ? TailCallKindAttr::get(mlirModule.getContext(),
+                                            TailCallKind::Tail)
----------------
bcardosolopes wrote:

Fixed.

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


More information about the Mlir-commits mailing list