This is an archive of the discontinued LLVM Phabricator instance.

[C API] Add getters and setters for NUW, NSW, and Exact
ClosedPublic

Authored by cdisselkoen on Oct 12 2020, 9:59 AM.

Details

Summary

This partially addresses Bug 42692; see discussion there.

Adds C API getters and setters for the NUW, NSW, and Exact flags on various
instructions.

Diff Detail

Event Timeline

cdisselkoen created this revision.Oct 12 2020, 9:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 12 2020, 9:59 AM
cdisselkoen requested review of this revision.Oct 12 2020, 9:59 AM

Friendly ping on this?

I assume the test failures for Clang's directory watcher are unrelated - this diff doesn't touch anything in Clang?

deadalnix accepted this revision.Oct 14 2021, 7:00 AM
This revision is now accepted and ready to land.Oct 14 2021, 7:00 AM

This is something that I wanted to do for a long but never had time to. Thanks.

If this is ready to land, then could I get someone to land it for me? I don't believe I have sufficient privileges.

woodruffw accepted this revision.May 20 2022, 11:31 AM
woodruffw added a subscriber: woodruffw.

I also don't have the commit bit, but LGTM.

Herald added a project: Restricted Project. · View Herald TranscriptMay 20 2022, 11:31 AM
Benjins added a subscriber: Benjins.Jun 5 2023, 6:05 PM

Hi folks. I came across this review while looking at nsw/nuw/etc. information being missing from libraries that consume the C API bindings, e.g. Rust. I'd like to see this land, so is there anything holding this patch back? It sounds like it got thumbs-up from reviewers, so is there someone else who needs to merge it? I tried applying it to latest trunk just now and it still applies fine and the tests still pass. I assume it's still good to land?

bogner accepted this revision.Jun 8 2023, 4:02 PM
bogner added a subscriber: bogner.

Yeah, this looks perfectly reasonable. Sorry we let it languish for so long!

I'll commit it for you momentarily.

This revision was landed with ongoing or failed builds.Jun 8 2023, 4:11 PM
This revision was automatically updated to reflect the committed changes.