mirror of
https://github.com/dlang/dmd.git
synced 2025-04-27 05:30:13 +03:00
![]() This promotion from scalar right-hand-sides to vectors already happens for the arithmetic binops, via `typeCombine()` side effects. Handle bit-shift expressions too now, by casting a scalar to the left-hand-side vector type. This can't be tested with DMD, as DMD's `Target.isVectorOpSupported()` doesn't support bit-shifts yet. It is ~required/useful for LDC though. |
||
---|---|---|
.. | ||
docs | ||
ini | ||
samples | ||
src | ||
test | ||
tools |