Skip to content
Commit 332836d6 authored by Matthijs Kooijman's avatar Matthijs Kooijman
Browse files

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
parent f03c1ae4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment