1. [NewPM] Introduce PreserveCFG check (details)
  2. [SVE][CodeGen] Fix InlineFunction for scalable vectors (details)
Commit 28012e00d80b994ef0709377da15e2b25e6c0b72 by yrouban
[NewPM] Introduce PreserveCFG check

Check that all passes, which report they preserve CFG,
are really preserving CFG.
A new standard instrumentation is introduced. It can be
switched on/off by the flag verify-cfg-preserved, which
is on by default for debug builds.

Reviewers: kuhar, fedor.sergeev

Differential Revision:
The file was modifiedllvm/lib/Passes/StandardInstrumentations.cpp (diff)
The file was modifiedllvm/include/llvm/Passes/StandardInstrumentations.h (diff)
Commit 1e1770a07ec0f6a3576362ea5eb97aedd33f4b26 by david.sherwood
[SVE][CodeGen] Fix InlineFunction for scalable vectors

When inlining functions containing allocas of scalable vectors we
cannot specify the size in the lifetime markers, since we don't
know this at compile time.

Added new test here:


Differential Revision:
The file was addedllvm/test/Transforms/Inline/AArch64/sve-alloca-merge.ll
The file was modifiedllvm/lib/Transforms/Utils/InlineFunction.cpp (diff)