This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Temporarily change constant address space from 4 to 2 for the new address space mapping
ClosedPublic

Authored by yaxunl on Apr 6 2017, 9:38 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

yaxunl created this revision.Apr 6 2017, 9:38 AM
t-tye accepted this revision.Apr 6 2017, 9:56 AM

Other than one comment:

LGTM

lib/Basic/Targets.cpp
2083 ↗(On Diff #94386)

Since Constant is now the same regardless of the GIZ setting, should it be moved to be a literal constant like the other values that do not change?

This revision is now accepted and ready to land.Apr 6 2017, 9:56 AM
t-tye added a comment.Apr 6 2017, 10:03 AM

LGTM

lib/Basic/Targets.cpp
2083 ↗(On Diff #94386)

Disregard comment as was thinking of the LLVM way address spaces were being handled.

This revision was automatically updated to reflect the committed changes.