1. [WebAssembly] Misc. refactoring in CFGStackify (NFC) (details)
  2. Adapt CastExpr::getSubExprAsWritten to ConstantExpr (details)
  3. [LiveDebugValues] Fix comparison operator in VarLocBasedImpl (details)
Commit 1cc5235712f2ed847f0b593714446d440e0596ba by aheejin
[WebAssembly] Misc. refactoring in CFGStackify (NFC)

Updating `ScopeTops` is something we frequently do in CFGStackify, so
this factors it out as a function. This also makes a few utility
functions templated so that they are not dependent on input vector
types and simplifies function parameters.

Reviewed By: tlively

Differential Revision:
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
Commit 215ed9b33ccbe9858aeb65b357bd1111cff354be by sbergman
Adapt CastExpr::getSubExprAsWritten to ConstantExpr

Differential Revision:
The file was modifiedclang/unittests/Tooling/CastExprTest.cpp
The file was modifiedclang/lib/AST/Expr.cpp
Commit c8a914db5c60dbeb5b638f30a9915855a67805f7 by sander.desmalen
[LiveDebugValues] Fix comparison operator in VarLocBasedImpl

The issue was introduced in commit rG84a1120943a651184bae507fed5d648fee381ae4
and would cause a VarLoc's StackOffset to be compared with its own, instead of
the StackOffset from the other VarLoc. This patch fixes that.
The file was modifiedllvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp