[libcxx-commits] [PATCH] D158861: [llvm] Move CallInst::CreateMalloc to IRBuilderBase::CreateMalloc
Konrad Wilhelm Kleine via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Aug 29 04:30:51 PDT 2023
kwk updated this revision to Diff 554261.
kwk marked an inline comment as done.
kwk added a comment.
Address review comments.
- Make MallocF in CreateMalloc optional
- Return CreateMalloc result directly and wrap it as an LLVMValueRef
- Rename static IsConstantOne to isConstantOne
- Use IRBuilder's CreateIntCast instead of CastInst::CreateIntegerCast
- Use IRBuilder's CreateMul instead of CreateBinOp
- Drop returnDoesNotAlias check
- Move SetInsertPoint before CreateMalloc
- remove constant arrayssize case
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158861/new/
https://reviews.llvm.org/D158861
Files:
llvm/bindings/ocaml/llvm/llvm.mli
llvm/examples/BrainF/BrainF.cpp
llvm/include/llvm/IR/IRBuilder.h
llvm/include/llvm/IR/Instructions.h
llvm/lib/IR/Core.cpp
llvm/lib/IR/IRBuilder.cpp
llvm/lib/IR/Instructions.cpp
llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
polly/lib/CodeGen/IslNodeBuilder.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158861.554261.patch
Type: text/x-patch
Size: 17989 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230829/4eaacd0f/attachment-0001.bin>
More information about the libcxx-commits
mailing list