roc-lang / roc

A fast, friendly, functional language.
https://roc-lang.org
Universal Permissive License v1.0
4.46k stars 313 forks source link

Fix alignment of 16 byte types #7015

Closed bhansconnect closed 3 months ago

bhansconnect commented 3 months ago

With the version of llvm we are on, i128 is only aligned to 8 bytes. We were using i128 to set the alignment of aggregate types. This was leading the the wrong alignment. Instead use f128 which is actually aligned to 16 bytes on our current version of llvm