[all-commits] [llvm/llvm-project] 14d358: Added a new IRCanonicalizer pass.

MichaƂ Paszkowski via All-commits all-commits at lists.llvm.org
Sat May 23 04:04:51 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 14d358537f124a732adad1ec6edf3981dc9baece
      https://github.com/llvm/llvm-project/commit/14d358537f124a732adad1ec6edf3981dc9baece
  Author: Michal Paszkowski <michal.paszkowski at outlook.com>
  Date:   2020-05-23 (Sat, 23 May 2020)

  Changed paths:
    M llvm/docs/Passes.rst
    M llvm/docs/ReleaseNotes.rst
    M llvm/include/llvm/InitializePasses.h
    M llvm/include/llvm/LinkAllPasses.h
    M llvm/include/llvm/Transforms/Utils.h
    M llvm/lib/Transforms/Utils/CMakeLists.txt
    A llvm/lib/Transforms/Utils/IRCanonicalizer.cpp
    M llvm/lib/Transforms/Utils/Utils.cpp
    A llvm/test/Transforms/IRCanonicalizer/naming-arguments.ll
    A llvm/test/Transforms/IRCanonicalizer/naming-basic-blocks.ll
    A llvm/test/Transforms/IRCanonicalizer/naming-instructions.ll
    A llvm/test/Transforms/IRCanonicalizer/reordering-instructions.ll
    A llvm/test/Transforms/IRCanonicalizer/reordering-phi-node-values.ll

  Log Message:
  -----------
  Added a new IRCanonicalizer pass.

Summary:
Added a new IRCanonicalizer pass which aims to transform LLVM modules into
a canonical form by reordering and renaming instructions while preserving the
same semantics. The canonicalizer makes it easier to spot semantic differences
when diffing two modules which have undergone different passes.

Presentation: https://www.youtube.com/watch?v=c9WMijSOEUg

Reviewed by: plotfi

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




More information about the All-commits mailing list