llvm-6502/lib/Transforms
Matthijs Kooijman d16918f843 Restructure dead argument elimination, try #3 :-)
Rewrite the DeadArgumentElimination pass, to use a more explicit tracking of
dependencies between return values and/or arguments. Also make the handling of
arguments and return values the same.

The pass now looks properly inside returned structs, but only at the first
level (ie, not inside nested structs).

This version fixed a few more bugs and was cleaned up a bit. It now passes all
of LLVM's testing, and should still pass SPEC2006. There is still a minor bug
with regard to returning nested structs. Since there is currently nothing that
emits such IR, I will fix that in a seperate commit (partly because it requires
a non-trivial fix).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53400 91177308-0d34-0410-b5e6-96231b3b80d8
2008-07-10 10:24:08 +00:00
..
Hello Clean up the use of static and anonymous namespaces. This turned up 2008-05-13 00:00:25 +00:00
Instrumentation Tidy up BasicBlock::getFirstNonPHI, and change a bunch of places to 2008-05-23 21:05:58 +00:00
IPO Restructure dead argument elimination, try #3 :-) 2008-07-10 10:24:08 +00:00
Scalar Fix overzealous optimization. Thanks to Duncan Sands for pointing out my error! 2008-07-10 05:51:40 +00:00
Utils - Use O(1) check of basic block size limit. 2008-06-25 07:50:12 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00