SuccessChanges

Summary

  1. (Expensive) Check for Loop, SCC and Region pass return status (details)
  2. [gn build] Port b1f4e5979b7 (details)
  3. [MC] [Win64EH] Avoid producing malformed xdata records (details)
  4. [ValueTracking] Remove a stray semicolon. NFC. (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/Analysis/RegionPass.cpp
The file was modifiedllvm/lib/Analysis/LoopPass.cpp
The file was addedllvm/include/llvm/IR/StructuralHash.h
The file was modifiedllvm/lib/Analysis/CallGraphSCCPass.cpp
The file was modifiedllvm/lib/IR/CMakeLists.txt
The file was modifiedllvm/lib/IR/LegacyPassManager.cpp
The file was addedllvm/lib/IR/StructuralHash.cpp
Commit a5d0fd19d97ce7d32a266c5131ac82071b2c4a97 by llvmgnsyncbot
[gn build] Port b1f4e5979b7
The file was modifiedllvm/utils/gn/secondary/llvm/lib/IR/BUILD.gn
Commit 37ef743cbf3fb1c56cca8035d9acb0cde83976f9 by martin
[MC] [Win64EH] Avoid producing malformed xdata records

If there's no unwinding opcodes, omit writing the xdata/pdata records.

Previously, this generated truncated xdata records, and llvm-readobj
would error out when trying to print them.

If writing of an xdata record is forced via the .seh_handlerdata
directive, skip it if there's no info to make a sensible unwind
info structure out of, and clearly error out if such info appeared
later in the process.

Differential Revision: https://reviews.llvm.org/D86527
The file was modifiedllvm/include/llvm/MC/MCWinEH.h
The file was modifiedllvm/lib/MC/MCWin64EH.cpp
The file was modifiedllvm/test/MC/AArch64/seh.s
Commit db1ec04963cce70f2593e58cecac55f2e6accf52 by martin
[ValueTracking] Remove a stray semicolon. NFC.

This silences warnings when built with GCC at least.
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp