summaryrefslogtreecommitdiffstats
path: root/llvm/test/FrontendC/nested-functions.c
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2008-06-17 12:20:24 +0000
committerMatthijs Kooijman <matthijs@stdin.nl>2008-06-17 12:20:24 +0000
commit332836d68d7264d79a56950d589e0f12b02628ae (patch)
tree6facda2898ae273fb313c269a9342fd37cbdb57e /llvm/test/FrontendC/nested-functions.c
parentf03c1ae407422e966543412059207286cb2c6ffa (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud