[PATCH] D86974: [IRSim] Adding basic implementation of llvm-sim.

Andrew Litteken via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 1 13:21:44 PDT 2020


AndrewLitteken created this revision.
Herald added subscribers: llvm-commits, mgorny.
Herald added a project: LLVM.
AndrewLitteken requested review of this revision.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86974

Files:
  llvm/test/tools/llvm-sim/Inputs/sim1.ll
  llvm/test/tools/llvm-sim/fail-cases.test
  llvm/test/tools/llvm-sim/single-sim.test
  llvm/tools/LLVMBuild.txt
  llvm/tools/llvm-sim/CMakeLists.txt
  llvm/tools/llvm-sim/FindSimilarities.cpp
  llvm/tools/llvm-sim/FindSimilarities.h
  llvm/tools/llvm-sim/JSONExporter.cpp
  llvm/tools/llvm-sim/JSONExporter.h
  llvm/tools/llvm-sim/LLVMBuild.txt
  llvm/tools/llvm-sim/llvm-sim.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86974.289267.patch
Type: text/x-patch
Size: 17646 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200901/0c1c7d51/attachment.bin>


More information about the llvm-commits mailing list