This is an archive of the discontinued LLVM Phabricator instance.

[fir][NFC] inline trival isa_<type> functions
ClosedPublic

Authored by clementval on Sep 22 2021, 5:25 AM.

Details

Summary

This patch is part of the upstreaming effort from fir-dev branch and sync changes. Inline trival isa_<type> functions.

Co-authored-by: schweitzpgi

Diff Detail

Event Timeline

clementval created this revision.Sep 22 2021, 5:25 AM
clementval requested review of this revision.Sep 22 2021, 5:25 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 22 2021, 5:25 AM
clementval edited the summary of this revision. (Show Details)Sep 22 2021, 5:31 AM
clementval added a project: Restricted Project.

(please consider tagging revision NFC)
It'd be nice also if the motivation in the description was telling more about the patch themselves. Right now it seems a bit random that isa_box_type gets moved into the header but not isa_ref_type?

clementval retitled this revision from [fir] inline is_box_type and isa_aggregate to [fir][NFC] inline is_box_type and isa_aggregate.Sep 22 2021, 10:11 AM

Inline other trivial function

clementval retitled this revision from [fir][NFC] inline is_box_type and isa_aggregate to [fir][NFC] inline trival isa_<type> functions.Sep 22 2021, 1:00 PM
clementval edited the summary of this revision. (Show Details)

LGTM. @clementval is this a one-off patch or are you restarting upstreaming?

This revision is now accepted and ready to land.Sep 23 2021, 1:57 AM

LGTM. @clementval is this a one-off patch or are you restarting upstreaming?

Other patches will follow.

This revision was landed with ongoing or failed builds.Sep 23 2021, 2:09 AM
This revision was automatically updated to reflect the committed changes.