[all-commits] [llvm/llvm-project] 5f2c53: Pass some DataLayout arguments by const-ref

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Sep 23 07:51:19 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f2c53bdf4c58a488c098ed42c26dfcd369dd15e
      https://github.com/llvm/llvm-project/commit/5f2c53bdf4c58a488c098ed42c26dfcd369dd15e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-09-23 (Thu, 23 Sep 2021)

  Changed paths:
    M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
    M llvm/lib/Transforms/Utils/AssumeBundleBuilder.cpp
    M llvm/tools/llvm-exegesis/lib/Assembler.cpp

  Log Message:
  -----------
  Pass some DataLayout arguments by const-ref

Avoid unnecessary copies, reported by MSVC static analyzer.




More information about the All-commits mailing list