Handle vlas during inline cost computation if they'll be turned
authorEric Christopher <echristo@gmail.com>
Mon, 7 Apr 2014 13:36:21 +0000 (13:36 +0000)
committerEric Christopher <echristo@gmail.com>
Mon, 7 Apr 2014 13:36:21 +0000 (13:36 +0000)
commit9a764dfa92ba7a8a64472410817459b00a8b003a
treebc85269d4a82b5b1f98ec4ce1fc5d17164556c86
parent531bece9f586ef68017815f721cb99164e66d8dd
Handle vlas during inline cost computation if they'll be turned
into a constant size alloca by inlining.

Ran a run over the testsuite, no results out of the noise, fixes
the testcase in the PR.

PR19115.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205710 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/IPA/InlineCost.cpp
test/Transforms/Inline/inline-vla.ll [new file with mode: 0644]