diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst --- a/llvm/docs/LangRef.rst +++ b/llvm/docs/LangRef.rst @@ -4300,9 +4300,16 @@ call void asm inteldialect "eieio", ""() -If multiple keywords appear the '``sideeffect``' keyword must come -first, the '``alignstack``' keyword second and the '``inteldialect``' -keyword last. +In the case that the inline asm might unwind the stack, +the '``unwind``' keyword may be used: + +.. code-block:: llvm + + call void asm unwind "call func", ""() + +If multiple keywords appear, the '``sideeffect``' keyword must come +first, the '``alignstack``' keyword second, the '``inteldialect``' keyword +third and the '``unwind``' keyword last. Inline Asm Constraint String ^^^^^^^^^^^^^^^^^^^^^^^^^^^^