diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst index 4f4d0cba95e6..83573be24d60 100644 --- a/llvm/docs/LangRef.rst +++ b/llvm/docs/LangRef.rst @@ -3385,6 +3385,9 @@ constraints, e.g. "``~{eax}``". The one exception is that a clobber string of memory locations -- not only the memory pointed to by a declared indirect output. +Note that clobbering named registers that are also present in output +constraints is not legal. + Constraint Codes """"""""""""""""