numba / llvmlite

A lightweight LLVM python binding for writing JIT compilers
https://llvmlite.pydata.org/
BSD 2-Clause "Simplified" License
1.94k stars 322 forks source link

Bindings: Query incoming blocks of a phi instruction #973

Closed tbennun closed 1 year ago

tbennun commented 1 year ago

When iterating over the operands of a phi instruction, the incoming basic blocks are missing and cannot be queried by any means. This PR adds them to the bindings.

gmarkall commented 1 year ago

Many thanks for the PR - I'll mark as ready for review.