Simplify trivial casts (and handle pointers specially).
commit19903f1a69a4ebd0e6de92dc926b309e5ed87b3a
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 29 Nov 2004 20:52:14 +0000 (29 13:52 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 8 Apr 2005 04:05:16 +0000 (7 21:05 -0700)
tree2f54baf7e6451adc9be2d35fca0cc0e1753df191
parent546421fac226edc53c00334738c1682da20a29c9
Simplify trivial casts (and handle pointers specially).

This does trivial simplification of casting to the same
typesize. HOWEVER. We split casts up into whether they
cast to a dereferencable pointer type or not, and we don't
simplify pointer casts. This should mean that if we
ever want to do type-based alias analysis, we can still
avoid casted accesses.

(If we do type-based alias analysis, we'll also need to make
a union access do a cast. Which we probably should do anyway).
linearize.c
linearize.h
liveness.c
simplify.c