James Miller f1a3ff047e Use type-alignment-sized integer for discriminant types
The previous behaviour of using the smallest type possible caused LLVM
to treat padding too conservatively, causing poor codegen. This commit
changes the behaviour to use an type-alignment-sized integer as the
discriminant. This keeps types the same size, but helps LLVM understand
the data structure a little better, resulting in better codegen.
2014-12-23 12:29:52 +13:00
..
2014-12-19 11:38:24 -08:00
2014-12-21 13:49:04 -08:00
2014-12-18 23:31:34 -08:00
2014-12-19 10:43:24 -05:00
2014-12-19 10:43:24 -05:00
2014-12-19 10:43:24 -05:00
2014-12-19 10:43:24 -05:00
2014-12-21 13:49:04 -08:00
2014-12-21 13:49:04 -08:00
2014-12-19 10:51:01 -05:00
2014-12-21 09:26:41 -08:00
2014-12-21 13:49:04 -08:00