1.0.43.45: More type-directed constant folding
authorPaul Khuong <pvk@pvk.ca>
Tue, 12 Oct 2010 04:50:24 +0000 (04:50 +0000)
committerPaul Khuong <pvk@pvk.ca>
Tue, 12 Oct 2010 04:50:24 +0000 (04:50 +0000)
commitf2218c68ed978533fc46830ac81f4517fefe5a2a
treefdd01dbfcb28f7317a08996fc5d6f0ad597ba99b
parent49319a8c7f3527b0d452b8f07bdabe02283e8ff7
1.0.43.45: More type-directed constant folding

 * 1.0.30.2 introduced logic to use MEMBER-TYPEs during constant
   propagation.  This commit uses SINGLETON-TYPE-P to extend that
   logic to more types (NUMERIC and CHARACTER-SET).

 * This exposes additional constant-folding opportunities in
   src/code/bit-bash.lisp; the necessary definitions are now available
   at compile-time.
src/code/bit-bash.lisp
src/code/type-class.lisp
src/compiler/ir1opt.lisp
version.lisp-expr