[llvm] Refine the examples in the debug info document (PR #86272)

Shan Huang via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 29 19:13:33 PDT 2024


================
@@ -115,10 +119,12 @@ Examples of transformations for which this rule *does not* apply include:
   single-stepping experience. The rule for
   :ref:`dropping locations<WhenToDropLocation>` should apply here.
 
-* Hoisting identical instructions which appear in several successor blocks into
-  a predecessor block (see ``BranchFolder::HoistCommonCodeInSuccs``). In this
-  case there is no single merged instruction. The rule for
-  :ref:`dropping locations<WhenToDropLocation>` applies.
+* Hoisting/sinking a part of the identical instructions with the same location.
----------------
Apochens wrote:

Thanks! This is a good suggestion.

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


More information about the llvm-commits mailing list