Chris Lattner a990d94330 If a function always returns a constant, replace all calls sites with that
constant value.  This makes the return value dead and allows for
simplification in the caller.

This implements IPConstantProp/return-constant.ll

This triggers several dozen times throughout SPEC.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17730 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-14 06:10:11 +00:00
..
2004-11-11 22:11:17 +00:00
2004-11-12 20:38:45 +00:00
2004-11-09 17:58:09 +00:00
2004-09-15 01:34:42 +00:00