[PATCH] D94304: Updating the IRSimilarityPrinting Pass to include the first and last instruction

Andrew Litteken via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 8 06:37:47 PST 2021


AndrewLitteken created this revision.
AndrewLitteken added reviewers: paquette, plotfi.
Herald added a subscriber: hiraditya.
AndrewLitteken requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

When doing some recent debugging of the IROutliner, and using the similarity pass for debugging, just having the basic block and function isn't really enough to get all the information.  This adds the first and last instruction to the output of the IRSimilarityPrinting pass to give better information to a user.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D94304

Files:
  llvm/lib/Analysis/IRSimilarityIdentifier.cpp
  llvm/test/Analysis/IRSimilarityIdentifier/basic.ll
  llvm/test/Analysis/IRSimilarityIdentifier/different.ll
  llvm/test/Analysis/IRSimilarityIdentifier/nothing.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94304.315380.patch
Type: text/x-patch
Size: 9408 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210108/3d3d71f3/attachment.bin>


More information about the llvm-commits mailing list