dmd/compiler
Martin Kinkelin 3d6c65e75d Bit-shift expressions: Cast scalar right-hand-sides to vectors if needed
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.
2024-11-14 00:34:20 +01:00
..
docs
ini Revise remaining 32{omf,mscoff} usages 2024-05-25 16:35:11 +02:00
samples Merge pull request #16521 from kinke/rm_cruntime_dm 2024-05-25 22:14:39 +02:00
src Bit-shift expressions: Cast scalar right-hand-sides to vectors if needed 2024-11-14 00:34:20 +01:00
test Fix bugzilla 24855 - VRP fails to prevent overflow after division 2024-11-13 01:49:06 +01:00
tools Implement UAX31 character ranges (#15307) 2024-03-18 11:19:16 -07:00