Commit graph

4 commits

Author SHA1 Message Date
Martin Kinkelin
a9b9097918
Improve emission of vector literals (#3139) 2019-08-27 00:08:39 +02:00
Martin Kinkelin
0afa575c90 Adapt lit-tests to new floating-point init values
I.e., to T.nan, the regular quiet NaN.
2019-06-26 20:58:57 +02:00
Martin
d53ffb6ebb Adapt lit-tests to new Win32 D mangling 2017-10-07 14:06:17 +02:00
David Nadlinger
c26bfcbdaa toconstelem: Implement array literal VectorExps
Previously, we would always try to splat the given expression across the
whole vector. This hasn't been noticed earlier as DMD mostly generates
ArrayInitializers when initializing vectors to array literals (but
notably not when explicitly assigning VectorType.init).

GitHub: Fixes #2101.
2017-05-09 23:13:07 +01:00