diff options
| author | Matthijs Kooijman <matthijs@stdin.nl> | 2008-06-17 12:20:24 +0000 |
|---|---|---|
| committer | Matthijs Kooijman <matthijs@stdin.nl> | 2008-06-17 12:20:24 +0000 |
| commit | 332836d68d7264d79a56950d589e0f12b02628ae (patch) | |
| tree | 6facda2898ae273fb313c269a9342fd37cbdb57e /llvm/test/FrontendC/nested-functions.c | |
| parent | f03c1ae407422e966543412059207286cb2c6ffa (diff) | |
| download | bcm5719-llvm-332836d68d7264d79a56950d589e0f12b02628ae.tar.gz bcm5719-llvm-332836d68d7264d79a56950d589e0f12b02628ae.zip | |
Learn IPConstProp to propagate arguments that are directly returned. Strictly
speaking these are not constant values. However, when a function always returns
one of its arguments, then from the point of view of each caller the return
value is constant (or at least a known value) and can be replaced.
llvm-svn: 52397
Diffstat (limited to 'llvm/test/FrontendC/nested-functions.c')
0 files changed, 0 insertions, 0 deletions

