Skip to content

Commit 76dd4bc

Browse files
authored
[RemoveDIs] Add iterator-taking constructors and Create methods (#82778)
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.
1 parent 749384c commit 76dd4bc

File tree

5 files changed

+1350
-16
lines changed

5 files changed

+1350
-16
lines changed

0 commit comments

Comments
 (0)