[PATCH] D78345: [CallSite removal][MemCpyOptimizer] Replace CallSite with CallBase. NFC
    Mircea Trofin via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Apr 17 08:37:43 PDT 2020
    
    
  
mtrofin accepted this revision.
mtrofin added a comment.
This revision is now accepted and ready to land.
lgtm, one nit
================
Comment at: llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp:1353
+      else if (auto *CB = dyn_cast<CallBase>(I)) {
+        for (unsigned i = 0, e = CB->arg_size(); i != e; ++i)
+          if (CB->isByValArgument(i))
----------------
can we capitalize i and e here?
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78345/new/
https://reviews.llvm.org/D78345
    
    
More information about the llvm-commits
mailing list