This is an archive of the discontinued LLVM Phabricator instance.

Make globals used for array initialization codegen constant
ClosedPublic

Authored by hans on Mar 16 2023, 3:30 AM.

Details

Summary

As pointed out in D133835 these globals will never be written to
(they're only used for trivially copyable types), so they can always be
constant.

Diff Detail

Event Timeline

hans created this revision.Mar 16 2023, 3:30 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 16 2023, 3:30 AM
hans requested review of this revision.Mar 16 2023, 3:30 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 16 2023, 3:30 AM
This revision is now accepted and ready to land.Mar 16 2023, 4:39 PM
This revision was automatically updated to reflect the committed changes.