Optimize flattener by trying to reduce a TF before reducing its args.
authorRichard Eisenberg <eir@cis.upenn.edu>
Thu, 18 Dec 2014 04:30:15 +0000 (23:30 -0500)
committerRichard Eisenberg <eir@cis.upenn.edu>
Sat, 20 Dec 2014 02:41:00 +0000 (21:41 -0500)
commit8e2d858bb837a322f26face78df1b6ef3898e762
tree08eb0a3ec49b369a90ea44f7fef65fd95c40d3c3
parent68f717c05ea88e31f1a2abc9e82ed41b5ac02bee
Optimize flattener by trying to reduce a TF before reducing its args.

This has a demonstrated 2x speed boost on the T9872{a,b,c} tests.
(#9872)
compiler/typecheck/TcFlatten.hs
testsuite/tests/perf/compiler/all.T