KhronosGroup / SPIRV-LLVM-Translator

A tool and a library for bi-directional translation between SPIR-V and LLVM IR
Other
468 stars 209 forks source link

Move away from some more insert-before constructors; NFC #2514

Closed svenvh closed 4 months ago

svenvh commented 4 months ago

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.