[llvm] IR2Builder tool for converting LLVM IR files into C++ IRBuilder API (PR #117129)
Marek Sedláček via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 27 02:35:52 PST 2024
mark-sed wrote:
> > ConstantExpr creation.
>
> You can create ConstantExprs using the usual IRBuilder APIs for instructions. IRBuilder will automatically convert to ConstExpr where possible.
@nikic is your idea to replace all the ConstantExprs with call to `getAsInstruction()`?
https://github.com/llvm/llvm-project/pull/117129
More information about the llvm-commits
mailing list