aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-08-12 05:45:09 +0000
committerChris Lattner <sabre@nondot.org>2004-08-12 05:45:09 +0000
commitcde351ee30b510d458744d459e97d4a712e0d383 (patch)
treee04673634e50bdf8ba50424d21d810373b58ec36 /llvm/lib/CodeGen/MachineFunction.cpp
parent52a4abc29952b0228421eb15ecd83d404424d8fc (diff)
downloadllvm-cde351ee30b510d458744d459e97d4a712e0d383.zip
llvm-cde351ee30b510d458744d459e97d4a712e0d383.tar.gz
llvm-cde351ee30b510d458744d459e97d4a712e0d383.tar.bz2
This patch makes the inliner refuse to inline functions that have alloca
instructions in the body of the function (not the entry block). This fixes test/Programs/SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c and test/Programs/External/SPEC/CINT2000/176.gcc on zion. This should obviously be pulled into 1.3. llvm-svn: 15684
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions