This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen] Fix string literal address space casting.
ClosedPublic

Authored by hliao on Feb 21 2019, 7:42 AM.

Details

Summary
  • If a string literal is reused directly, need to add necessary address space casting if the target requires that.

Diff Detail

Repository
rC Clang

Event Timeline

hliao created this revision.Feb 21 2019, 7:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 21 2019, 7:42 AM
yaxunl accepted this revision.Feb 21 2019, 11:27 AM

LGTM. Thanks!

This revision is now accepted and ready to land.Feb 21 2019, 11:27 AM
This revision was automatically updated to reflect the committed changes.