This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/SI: Emit relocations for constant arrays when targeting HSA
AbandonedPublic

Authored by tstellarAMD on Oct 16 2015, 6:13 AM.

Details

Reviewers
arsenm

Diff Detail

Event Timeline

tstellarAMD retitled this revision from to AMDGPU/SI: Emit relocations for constant arrays when targeting HSA.
tstellarAMD updated this object.
tstellarAMD added a reviewer: arsenm.
tstellarAMD added a subscriber: llvm-commits.
arsenm added inline comments.Oct 16 2015, 1:43 PM
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
106

You should be able to get the Triple object from the TargetMachine with TM.getTargetTriple()

lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
46–49

returns on separate lines

lib/Target/AMDGPU/SIISelLowering.cpp
35–36

Out of alphabetical order

975–976

A comment about how globals are handled in HSA vs. not would be helpful

tstellarAMD abandoned this revision.Feb 29 2016, 6:13 AM