This is an archive of the discontinued LLVM Phabricator instance.

[LAA] Remove RuntimeCheckingPtrGroup::RtCheck member (NFC).
ClosedPublic

Authored by fhahn on Jul 6 2021, 7:11 AM.

Details

Summary

This patch removes RtCheck from RuntimeCheckingPtrGroup to make it
possible to construct RuntimeCheckingPtrGroup objects without a
RuntimePointerChecking object. This should make it easier to
re-use the code to generate runtime checks, e.g. in D102834.

RtCheck was only used to access the pointer info for a given index.
Instead, the start and end expressions can be passed directly.

For code-gen, we also need to know the address space to use. This can
also be explicitly passed at construction.

Diff Detail

Event Timeline

fhahn created this revision.Jul 6 2021, 7:11 AM
fhahn requested review of this revision.Jul 6 2021, 7:11 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 6 2021, 7:11 AM
efriedma accepted this revision.Jul 6 2021, 9:57 AM

LGTM

This revision is now accepted and ready to land.Jul 6 2021, 9:57 AM
This revision was landed with ongoing or failed builds.Jul 26 2021, 9:40 AM
This revision was automatically updated to reflect the committed changes.
Allen added a subscriber: Allen.Apr 25 2022, 6:38 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 25 2022, 6:38 PM