google-research / dex-lang

Research language for array processing in the Haskell/ML family
BSD 3-Clause "New" or "Revised" License
1.58k stars 107 forks source link

Don't allocate destinations for singleton values #1100

Closed apaszke closed 2 years ago

apaszke commented 2 years ago

They were ignored by the backend anyway, but not having them is neater and will result in simpler intermediate code, especially after allocation hoisting.