[all-commits] [llvm/llvm-project] 9e73f7: [IRSim] Adding basic implementation of llvm-sim.

Andrew Litteken via All-commits all-commits at lists.llvm.org
Wed Jun 23 12:40:31 PDT 2021


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

  Changed paths:
    M llvm/test/CMakeLists.txt
    M llvm/test/lit.cfg.py
    A llvm/test/tools/llvm-sim/Inputs/sim1.ll
    A llvm/test/tools/llvm-sim/fail-cases.test
    A llvm/test/tools/llvm-sim/single-sim-file.test
    A llvm/test/tools/llvm-sim/single-sim.test
    A llvm/tools/llvm-sim/CMakeLists.txt
    A llvm/tools/llvm-sim/llvm-sim.cpp
    M llvm/utils/gn/secondary/llvm/test/BUILD.gn
    A llvm/utils/gn/secondary/llvm/tools/llvm-sim/BUILD.gn

  Log Message:
  -----------
  [IRSim] Adding basic implementation of llvm-sim.

This is a similarity visualization tool that accepts a Module and
passes it to the IRSimilarityIdentifier.  The resulting SimilarityGroups
are output in a JSON file.

Tests are found in test/tools/llvm-sim and check for the file not found,
a bad module, and that the JSON is created correctly.

Reviewers: paquette, jroelofs, MaskRay

Recommit of: 15645d044bcfe2a0f63156048b302f997a717688 to fix linking
errors and GN build system.

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




More information about the All-commits mailing list