SuccessChanges

Summary

  1. (Expensive) Check for Loop, SCC and Region pass return status (details)
Commit b1f4e5979b74ccc6e2228b8ba54c40ea4af73907 by sguelton
(Expensive) Check for Loop, SCC and Region pass return status

This generalizes the logic introduced in https://reviews.llvm.org/D80916 to
other passes.

It's needed by https://reviews.llvm.org/D86442 to assert passes correctly report
their status.

Differential Revision: https://reviews.llvm.org/D86589
The file was modifiedllvm/lib/IR/LegacyPassManager.cpp (diff)
The file was modifiedllvm/lib/Analysis/CallGraphSCCPass.cpp (diff)
The file was modifiedllvm/lib/Analysis/LoopPass.cpp (diff)
The file was modifiedllvm/lib/IR/CMakeLists.txt (diff)
The file was modifiedllvm/lib/Analysis/RegionPass.cpp (diff)
The file was addedllvm/include/llvm/IR/StructuralHash.h
The file was addedllvm/lib/IR/StructuralHash.cpp