This is an archive of the discontinued LLVM Phabricator instance.

[unknown_provenance] Verifier: check it only exists on the ptr_provenance path
AcceptedPublic

Authored by jeroen.dobbelaere on Jun 29 2022, 6:10 AM.

Details

Summary

Check that the unknown_provenance is onyl found on the ptr_provenance path of specific instructions (load/store/llvm.experimental.ptr.provenance).

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptJun 29 2022, 6:10 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
jeroen.dobbelaere requested review of this revision.Jun 29 2022, 6:10 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 29 2022, 6:10 AM
asbirlea added inline comments.Jan 12 2023, 12:51 PM
llvm/test/Verifier/unknown_provenance.ll
3

Could you add a comment for each of tests on the case being verified?

36

nit: move tests 03 and 04 at the end as valid, following all invalid? Can a single CHECK-NOT: be used then for all valid tests?

This revision is now accepted and ready to land.Apr 11 2023, 10:25 AM