diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst index c8f74c19bd6b3..4858e87645a0d 100644 --- a/llvm/docs/LangRef.rst +++ b/llvm/docs/LangRef.rst @@ -27440,12 +27440,12 @@ Lowering: Lowers to a call to `objc_storeWeak `_. Preserving Debug Information Intrinsics -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +--------------------------------------- These intrinsics are used to carry certain debuginfo together with IR-level operations. For example, it may be desirable to know the structure/union name and the original user-level field -indices. Such information got lost in IR GetElementPtr instruction +indices. Such information gets lost in IR GetElementPtr instruction since the IR types are different from debugInfo types and unions are converted to structs in IR.