[PATCH] D158861: [llvm] Move CallInst::CreateMalloc to IRBuilderBase::CreateMalloc
Timm Bäder via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 1 08:14:12 PDT 2023
tbaeder added inline comments.
================
Comment at: llvm/lib/IR/IRBuilder.cpp:295
+/// isConstantOne - Return true only if val is constant int 1
+static bool isConstantOne(Value *Val) {
+ assert(Val && "isConstantOne does not work with nullptr Val");
----------------
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