Closed airwoodix closed 2 months ago
Operand bundles can be attached to call and invoke instructions. Starting with LLVM18, llvm-sys exposes the relevant bindings for building instructions with attached operand bundles, as well as parsing operand bundles from those instructions.
call
invoke
llvm-sys
I have a prototype implementation of a safe API here: https://github.com/TheDan64/inkwell/compare/master...airwoodix:inkwell:get-operand-bundles
Would you consider a PR upstreaming such changes?
Sure, would be happy to review a PR
Operand bundles can be attached to
call
andinvoke
instructions. Starting with LLVM18,llvm-sys
exposes the relevant bindings for building instructions with attached operand bundles, as well as parsing operand bundles from those instructions.I have a prototype implementation of a safe API here: https://github.com/TheDan64/inkwell/compare/master...airwoodix:inkwell:get-operand-bundles
Would you consider a PR upstreaming such changes?