Skip to content

Commit

Permalink
[RemoveDIs] Add iterator-taking constructors and Create methods (#82778)
Browse files Browse the repository at this point in the history
Part of removing debug-intrinsics from LLVM requires using iterators
whenever we insert an instruction into a block. That means we need all
instruction constructors and factory functions to have an iterator
taking option, which this patch adds.

The whole of this patch should be NFC: it's adding new flavours of
existing constructors, and plumbing those through to the Instruction
constructor that takes iterators. It's almost entirely boilerplate
copy-and-paste too.
  • Loading branch information
jmorse authored Feb 26, 2024
1 parent 749384c commit 76dd4bc
Show file tree
Hide file tree
Showing 5 changed files with 1,350 additions and 16 deletions.
Loading

0 comments on commit 76dd4bc

Please sign in to comment.