This is an archive of the discontinued LLVM Phabricator instance.

C API: support scalable vectors
ClosedPublic

Authored by cdisselkoen on Oct 20 2020, 12:27 PM.

Details

Summary

This adds support for scalable vector types in the C API and in
llvm-c-test, and also adds a test to ensure that llvm-c-test can properly
roundtrip operations involving scalable vectors.

While creating this diff, I discovered that the C API cannot properly roundtrip
_constant expressions_ involving shufflevector / scalable vectors, but that
seems to be a separate enough issue that I plan to address it in a future diff
(unless reviewers feel it should be addressed here).

Diff Detail

Event Timeline

cdisselkoen created this revision.Oct 20 2020, 12:27 PM
Herald added a project: Restricted Project. · View Herald Transcript
cdisselkoen requested review of this revision.Oct 20 2020, 12:27 PM
This revision is now accepted and ready to land.Oct 20 2020, 12:36 PM

Great! Could I ask you to land this? (I don't have sufficient privileges.)

While we're at it, could I also ask you to give a quick review to D89252? Another small feature to add to the C API.

Quick ping on this again? This diff is accepted and just needs someone to land it.

This revision now requires review to proceed.Oct 28 2020, 11:58 AM
dexonsmith resigned from this revision.Oct 28 2020, 12:29 PM

I had a misconfigured Herald rule; I should have been added as a subscriber not a blocking reviewer.

This revision is now accepted and ready to land.Oct 28 2020, 12:29 PM

In that case I believe this diff is still accepted and still just needs someone to land it?

In that case I believe this diff is still accepted and still just needs someone to land it?

I can commit this for you, it'll just take me a bit to build/run run the tests locally.

This revision was landed with ongoing or failed builds.Oct 28 2020, 3:19 PM
This revision was automatically updated to reflect the committed changes.