diff options
author | Chris Lattner <sabre@nondot.org> | 2004-08-12 05:45:09 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-08-12 05:45:09 +0000 |
commit | cde351ee30b510d458744d459e97d4a712e0d383 (patch) | |
tree | e04673634e50bdf8ba50424d21d810373b58ec36 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 52a4abc29952b0228421eb15ecd83d404424d8fc (diff) | |
download | llvm-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