[all-commits] [llvm/llvm-project] 64720f: [IRSim] Don't copy the Mapper for createCandidates...

Andrew Litteken via All-commits all-commits at lists.llvm.org
Fri Jun 11 14:52:30 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 64720f57bea6a6bf033feef4a5751ab9c0c3b401
      https://github.com/llvm/llvm-project/commit/64720f57bea6a6bf033feef4a5751ab9c0c3b401
  Author: Andrew Litteken <andrew.litteken at gmail.com>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M llvm/lib/Analysis/IRSimilarityIdentifier.cpp

  Log Message:
  -----------
  [IRSim] Don't copy the Mapper for createCandidatesFromSuffixTree

Every invocation this was copying the Mapper for no reason. Take a const
ref instead.

Author: lanza
Reviewers: AndrewLitteken, plofti, paquette,

Differential Review: https://reviews.llvm.org/D92532




More information about the All-commits mailing list