This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/SI: Remove hack for selecting < 32-bit loads to MUBUF instructions
ClosedPublic

Authored by tstellarAMD on Jun 24 2016, 12:29 PM.

Details

Summary

The isGlobalLoad() query was returning true for constant address space loads
with memory types less than 32-bits, which is wrong. This logic has been
replaced with PatFrag in the TableGen files, to provide the same functionality.

Diff Detail

Event Timeline

tstellarAMD retitled this revision from to AMDGPU/SI: Remove hack for selecting < 32-bit loads to MUBUF instructions.
tstellarAMD updated this object.
tstellarAMD added a reviewer: arsenm.
tstellarAMD added a subscriber: llvm-commits.
arsenm accepted this revision.Jun 24 2016, 2:16 PM
arsenm edited edge metadata.

LGTM

This revision is now accepted and ready to land.Jun 24 2016, 2:16 PM
This revision was automatically updated to reflect the committed changes.