Skip to content

Handle arm64 Scalable Vector Extension (SVE) types on clang 10#441

Merged
kkysen merged 6 commits intomasterfrom
fw/clang-10-aarch64-sve
Jun 22, 2022
Merged

Handle arm64 Scalable Vector Extension (SVE) types on clang 10#441
kkysen merged 6 commits intomasterfrom
fw/clang-10-aarch64-sve

Conversation

@kkysen
Copy link
Copy Markdown
Contributor

@kkysen kkysen commented Jun 10, 2022

Fixes #433.

This correctly handles arm64 Scalable Vector Extension (SVE) types on clang 10. SVE types were added in clang 10, but the API we had used to handle them was only added in clang 11, so they were being skipped in clang 10 and causing errors when transpiling any C file on aarch64-unknown-linux-gnu due to the SVE types not being recognized. In clang <10, SVE types are not yet present, so this is not an issue there. Now the aarch64-unknown-linux-gnu should work in CI, which uses clang 10.

@kkysen kkysen merged commit d875cd7 into master Jun 22, 2022
@kkysen kkysen deleted the fw/clang-10-aarch64-sve branch July 9, 2022 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

c2rust transpile always crashes on aarch64-unknown-linux-gnu using clang 10

3 participants