Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions llvm/docs/ReleaseNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ Changes to the LLVM IR
Changes to LLVM infrastructure
------------------------------

* Several methods that use Instruction pointers as insertion positions (moveBefore, getFirstNonPHI) have been deprecated in favour of overloads and variants that use `BasicBlock::iterator`s instead. The instruction-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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple of nits from me (sorry).

... that github ate.

I think there's some unnecessary ambiguity around whether moveBefore + getFirstNonPHI is the complete list of affected functions or not (I think both the word "several" and then having those two in parens is causing it). Can we be more precise?

Secondly, IMO I think changing "instruction-flavoured" to "pointer-flavoured" slightly improves clarity. YMMV though.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added some rewording to "Two methods", "pointer-flavoured", and stating that the methods use pointers as "code positions" because technically getFirstNonPHI isn't about insertion.

(It's a bit tricky to correctly abstract the wording over "this is about insertions but not all the functions are inserters".)


Changes to building LLVM
------------------------

Expand Down
Loading