[Inliner] Don't treat inalloca allocas as static
authorReid Kleckner <rnk@google.com>
Fri, 12 Aug 2016 22:23:04 +0000 (22:23 +0000)
committerReid Kleckner <rnk@google.com>
Fri, 12 Aug 2016 22:23:04 +0000 (22:23 +0000)
commit6ee00a2602732c8db543e7fc0c84bc34a3ef9f14
tree7d9a0a653b284b3b43f205e4f874bf6b04baa03c
parentab47fa643b77923322368dc2b8f277080c988c98
[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.

llvm-svn: 278571
llvm/lib/Transforms/Utils/InlineFunction.cpp
llvm/test/Transforms/Inline/inalloca-not-static.ll [new file with mode: 0644]