[PATCH] D123819: [InstCombine] Fold strlen and strnlen recursively.

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 3 03:54:33 PDT 2022


nikic added inline comments.


================
Comment at: llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp:635
+LibCallSimplifier::CreateInsnFuncTy
+LibCallSimplifier::minStringLength(CallInst *CI, Value *Src, IRBuilderBase *B,
+                                   unsigned CharSize, uint64_t MaxLen,
----------------
Can pass in IRBuilderBase by-reference? It seems like part of the changes here are just `B.` to `B->`.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123819/new/

https://reviews.llvm.org/D123819



More information about the llvm-commits mailing list