[llvm-branch-commits] [llvm] 5c12625 - [ReleaseNotes][RemoveDIs] Add release note for deprecated insertion methods (#127493)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Feb 17 17:04:33 PST 2025


Author: Jeremy Morse
Date: 2025-02-17T17:04:28-08:00
New Revision: 5c126253ca4ecf8d46a313856c04a17e5d65a800

URL: https://github.com/llvm/llvm-project/commit/5c126253ca4ecf8d46a313856c04a17e5d65a800
DIFF: https://github.com/llvm/llvm-project/commit/5c126253ca4ecf8d46a313856c04a17e5d65a800.diff

LOG: [ReleaseNotes][RemoveDIs] Add release note for deprecated insertion methods (#127493)

I've stuck this under "LLVM Infrastructure" as the IR plumbing methods
feel like infrastructure. The LLVM17 release notes stuck similar notes
in that section too.

Added: 
    

Modified: 
    llvm/docs/ReleaseNotes.md

Removed: 
    


################################################################################
diff  --git a/llvm/docs/ReleaseNotes.md b/llvm/docs/ReleaseNotes.md
index b42e111dc4283..c80aecfdea084 100644
--- a/llvm/docs/ReleaseNotes.md
+++ b/llvm/docs/ReleaseNotes.md
@@ -116,6 +116,8 @@ Changes to the LLVM IR
 Changes to LLVM infrastructure
 ------------------------------
 
+ * Two methods that use Instruction pointers as code positions (moveBefore, getFirstNonPHI) have been deprecated in favour of overloads and variants that use `BasicBlock::iterator`s instead. The pointer-flavoured methods will be removed in a future release. This work is part of the [RemoveDIs](https://llvm.org/docs/RemoveDIsDebugInfo.html) project, the documentation for which contains instructions for updating call-sites using the deprecated methods.
+
 Changes to building LLVM
 ------------------------
 


        


More information about the llvm-branch-commits mailing list