Closed helehex closed 2 weeks ago
✅🟣 This contribution has been merged 🟣✅
Your pull request has been merged to the internal upstream Mojo sources. It will be reflected here in the Mojo repository on the nightly branch during the next Mojo nightly release, typically within the next 24-48 hours.
We use Copybara to merge external contributions, click here to learn more.
Landed in 60b16a496b9ef7eaa55b4ec9383fb5720f982e05! Thank you for your contribution 🎉
Checks if types are already equal when calling
SIMD.cast()
. This avoids unnecessary code when generically casting simd vectors.But, this could be used in place of rebind when you know the types are already equal. if that's not what we want, then maybe we should constrain the types to be different, instead of doing this.