aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2009-01-08 21:45:23 +0000
committerDale Johannesen <dalej@apple.com>2009-01-08 21:45:23 +0000
commitb48fc71fc63a00ca9351b9bff5710615853d4e28 (patch)
tree9bb44168e2aecf9687b0bd1225e416009bd14014 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent715b2897d85337045405106d06e571ca8d56e58e (diff)
downloadllvm-b48fc71fc63a00ca9351b9bff5710615853d4e28.zip
llvm-b48fc71fc63a00ca9351b9bff5710615853d4e28.tar.gz
llvm-b48fc71fc63a00ca9351b9bff5710615853d4e28.tar.bz2
Do not inline functions with (dynamic) alloca into
functions that don't already have a (dynamic) alloca. Dynamic allocas cause inefficient codegen and we shouldn't propagate this (behavior follows gcc). Two existing tests assumed such inlining would be done; they are hacked by adding an alloca in the caller, preserving the point of the tests. llvm-svn: 61946
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions