Chris Lattner c008597c0a Completely rewrite tblgen's type inference mechanism,
changing the primary datastructure from being a 
"std::vector<unsigned char>" to being a new TypeSet class
that actually has (gasp) invariants!

This changes more things than I remember, but one major
innovation here is that it enforces that named input 
values agree in type with their output values.

This also eliminates code that transparently assumes (in 
some cases) that SDNodeXForm input/output types are the
same, because this is wrong in many case.

This also eliminates a bug which caused a lot of ambiguous
patterns to go undetected, where a register class would
sometimes pick the first possible type, causing an
ambiguous pattern to get arbitrary results.

With all the recent target changes, this causes no 
functionality change!

llvm-svn: 98534
2010-03-15 06:00:16 +00:00
..
2010-03-03 05:40:40 +00:00
2009-09-24 06:23:57 +00:00
2009-12-19 20:56:53 +00:00
2009-09-24 06:23:57 +00:00
2010-02-26 21:45:37 +00:00
2010-03-01 17:53:39 +00:00
2009-12-19 20:56:53 +00:00
2009-09-24 06:23:57 +00:00