]> granicus.if.org Git - llvm/commit
Merging r278571:
authorHans Wennborg <hans@hanshq.net>
Tue, 16 Aug 2016 18:06:44 +0000 (18:06 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 16 Aug 2016 18:06:44 +0000 (18:06 +0000)
commitd2e45b04fcfbeca4521296742ceb92bded3f578e
tree31ea19ca849b1838563bf2ef679fb5bc5fc05503
parent56dbbe30a2dbfe02e82e32b59beae70b5e0eea34
Merging r278571:
------------------------------------------------------------------------
r278571 | rnk | 2016-08-12 15:23:04 -0700 (Fri, 12 Aug 2016) | 6 lines

[Inliner] Don't treat inalloca allocas as static

They aren't static, and moving them to the entry block across something
else will only result in tears.

Root cause of http://crbug.com/636558.
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_39@278831 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/InlineFunction.cpp
test/Transforms/Inline/inalloca-not-static.ll [new file with mode: 0644]