[all-commits] [llvm/llvm-project] 20a7ea: [StandardInstrumentations] Verify function doesn't...

aeubanks via All-commits all-commits at lists.llvm.org
Wed Mar 15 13:17:31 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 20a7ea49f40e2d47eb6b87acf835782dece92f08
      https://github.com/llvm/llvm-project/commit/20a7ea49f40e2d47eb6b87acf835782dece92f08
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

  Changed paths:
    M llvm/include/llvm/IR/StructuralHash.h
    M llvm/lib/IR/StructuralHash.cpp
    M llvm/lib/Passes/StandardInstrumentations.cpp
    M llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-markloopasdeleted.ll
    M llvm/unittests/IR/PassManagerTest.cpp

  Log Message:
  -----------
  [StandardInstrumentations] Verify function doesn't change if analyses are preserved

Reuse StructuralHash and allow it to be used in non-expensive checks builds.

Move PreservedAnalysisChecker further down StandardInstrumentations so other Instrumentations (e.g. printing) have a chance to run before PreservedAnalysisChecker crashes.

Reviewed By: nikic

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




More information about the All-commits mailing list