[PATCH] D158861: [llvm] Move CallInst::CreateMalloc to IRBuilderBase::CreateMalloc
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 4 09:50:45 PDT 2023
nikic added a comment.
Would dropping the bitcast but hardcoding the "malloccall" name on the call (for now) work? As far as I can tell your current code creates a bitcast without inserting it, which would result in broken IR.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158861/new/
https://reviews.llvm.org/D158861
More information about the llvm-commits
mailing list