In preparation for LLVM's deprecation of Instruction constructors and Create methods that accept Instruction pointers, upgrade call sites to pass an iterator instead of an Instruction pointer.
This is a continuation of #2498, updating some cases that are different from the bulk changes done earlier.
In preparation for LLVM's deprecation of
Instruction
constructors andCreate
methods that acceptInstruction
pointers, upgrade call sites to pass an iterator instead of anInstruction
pointer.This is a continuation of #2498, updating some cases that are different from the bulk changes done earlier.