This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Implement per-function subtargets
ClosedPublic

Authored by arsenm on Jun 27 2016, 11:49 AM.

Details

Diff Detail

Event Timeline

arsenm updated this revision to Diff 61992.Jun 27 2016, 11:49 AM
arsenm retitled this revision from to AMDGPU: Implement per-function subtargets.
arsenm updated this object.
arsenm added reviewers: tstellarAMD, echristo.
arsenm added a subscriber: llvm-commits.
echristo edited edge metadata.Jun 27 2016, 11:55 AM

One inline question mark for explanation, otherwise OK.

-eric

lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
219–228

?

arsenm added inline comments.Jun 27 2016, 12:04 PM
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
219–228

I just copied the global isel stuff from AArch64. We have some of it implemented already, but I apparently didn't move that out of the subtarget. I'll move those and remove the unimplemented piece

echristo accepted this revision.Jun 27 2016, 4:59 PM
echristo edited edge metadata.

Go ahead with that change :)

-eric

This revision is now accepted and ready to land.Jun 27 2016, 4:59 PM
arsenm closed this revision.Jun 27 2016, 6:17 PM

s273940