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

Andrew Litteken via All-commits all-commits at lists.llvm.org
Sat Mar 20 14:48:32 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5155dff2784a47583d432d796b7cf47a0bed9f20
      https://github.com/llvm/llvm-project/commit/5155dff2784a47583d432d796b7cf47a0bed9f20
  Author: Andrew Litteken <andrew.litteken at gmail.com>
  Date:   2021-03-20 (Sat, 20 Mar 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

  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.

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




More information about the All-commits mailing list