[SVE][CodeGen] Fix InlineFunction for scalable vectors
authorDavid Sherwood <david.sherwood@arm.com>
Thu, 3 Sep 2020 10:57:55 +0000 (11:57 +0100)
committerDavid Sherwood <david.sherwood@arm.com>
Fri, 11 Sep 2020 07:34:51 +0000 (08:34 +0100)
commit1e1770a07ec0f6a3576362ea5eb97aedd33f4b26
tree71dccf421466c802c313aae0dd77ca869f45105c
parent28012e00d80b994ef0709377da15e2b25e6c0b72
[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:

  test/Transforms/Inline/AArch64/sve-alloca-merge.ll

Differential Revision: https://reviews.llvm.org/D87139
llvm/lib/Transforms/Utils/InlineFunction.cpp
llvm/test/Transforms/Inline/AArch64/sve-alloca-merge.ll [new file with mode: 0644]