This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Rename WrapperPIC -> WrapperREL. NFC
ClosedPublic

Authored by sbc100 on Sep 2 2021, 11:50 AM.

Details

Summary

This ISD node/wrapper represents address which is relative to base
address and therefore lowers to i32.const rather than global.get.

Use this wrapper type for TLS-relative addresses, paving the way for the
non-REL wrapper to be used to external TLS address once those are
supported.

Diff Detail

Event Timeline

sbc100 created this revision.Sep 2 2021, 11:50 AM
sbc100 requested review of this revision.Sep 2 2021, 11:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 2 2021, 11:50 AM
sbc100 retitled this revision from [WebAssembly] Rename WrapperPIC -> WrapperREL to [WebAssembly] Rename WrapperPIC -> WrapperREL. NFC.
dschuff accepted this revision.Sep 2 2021, 1:53 PM
This revision is now accepted and ready to land.Sep 2 2021, 1:53 PM
This revision was landed with ongoing or failed builds.Sep 2 2021, 5:05 PM
This revision was automatically updated to reflect the committed changes.