[all-commits] [llvm/llvm-project] 56615a: [IROutliner] Adding instruction strings to IRSimil...

Andrew Litteken via All-commits all-commits at lists.llvm.org
Tue Feb 9 10:12:35 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 56615a2654ce9b0e588fc67c1e0957968acf7fc1
      https://github.com/llvm/llvm-project/commit/56615a2654ce9b0e588fc67c1e0957968acf7fc1
  Author: Andrew Litteken <andrew.litteken at gmail.com>
  Date:   2021-02-09 (Tue, 09 Feb 2021)

  Changed paths:
    M llvm/lib/Analysis/IRSimilarityIdentifier.cpp
    M llvm/test/Analysis/IRSimilarityIdentifier/basic.ll
    M llvm/test/Analysis/IRSimilarityIdentifier/different.ll
    M llvm/test/Analysis/IRSimilarityIdentifier/nothing.ll

  Log Message:
  -----------
  [IROutliner] Adding instruction strings to IRSimilarityPrinting diagnostics.

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.

Reviewer: paquette

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




More information about the All-commits mailing list