[all-commits] [llvm/llvm-project] f6dea2: [IRSim] Strip out the findSimilarity call from the...

Andrew Litteken via All-commits all-commits at lists.llvm.org
Fri Jun 11 16:41:50 PDT 2021


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

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

  Log Message:
  -----------
  [IRSim] Strip out the findSimilarity call from the constructor

Both doInitialize and runOnModule were running the entire analysis
due to the actual work being done in the constructor. Strip it out here
and only get the similarity during runOnModule.

Author: lanza
Reviewers: AndrewLitteken, paquette, plofti

Differential Revision: https://reviews.llvm.org/D92524




More information about the All-commits mailing list