[all-commits] [llvm/llvm-project] 4a161b: LoopUnroll.cpp - pass std::vector by const referen...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Jul 30 10:17:55 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4a161bd8b3c2c31da788072b9641e1dcde62ce08
      https://github.com/llvm/llvm-project/commit/4a161bd8b3c2c31da788072b9641e1dcde62ce08
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-07-30 (Thu, 30 Jul 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/LoopUnroll.cpp

  Log Message:
  -----------
  LoopUnroll.cpp - pass std::vector by const reference to needToInsertPhisForLCSSA helper. NFCI.

Avoid an unnecessary pass by value.




More information about the All-commits mailing list