This is an archive of the discontinued LLVM Phabricator instance.

Outliner: add "target-cpu" feature from source function to outlined
ClosedPublic

Authored by t.p.northover on Jul 29 2022, 6:47 AM.

Details

Reviewers
paquette
Summary

The CPU is used to determine which inline asm instructions are allowed, so needs to be copied across in case the outlined function contains any.

Diff Detail

Event Timeline

t.p.northover created this revision.Jul 29 2022, 6:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 29 2022, 6:47 AM
t.p.northover requested review of this revision.Jul 29 2022, 6:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 29 2022, 6:47 AM
This revision is now accepted and ready to land.Jul 29 2022, 10:24 AM
t.p.northover closed this revision.Aug 2 2022, 1:34 AM

Thanks. Committed as b586dc21a7e8.