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 | 2fbabf6e6dc61e0627b93a596bf13e272345c5e8 (patch) | |
tree | b7d728f7e4f2eb9a840e088c076b459be91e594a /lib/CodeGen/SelectionDAG/LegalizeTypesSplit.cpp | |
parent | 906e423724f9f4409ff8725d0da8ecd09bec23cf (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52397 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeTypesSplit.cpp')
0 files changed, 0 insertions, 0 deletions