This is an archive of the discontinued LLVM Phabricator instance.

SelectionDAG: Use correct addrspace when lowering memcpy
ClosedPublic

Authored by arsenm on Feb 17 2016, 10:08 AM.

Details

Reviewers
resistor
Summary

This was causing assertions later from using the wrong pointer
size with LDS operations. getOptimalMemOpType should also have
address space arguments later.

This avoids assertions in existing tests exposed by
a future commit.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 48210.Feb 17 2016, 10:08 AM
arsenm retitled this revision from to SelectionDAG: Use correct addrspace when lowering memcpy.
arsenm updated this object.
arsenm added a subscriber: llvm-commits.
resistor accepted this revision.Feb 17 2016, 10:13 AM
resistor added a reviewer: resistor.
resistor added a subscriber: resistor.

LGTM.

This revision is now accepted and ready to land.Feb 17 2016, 10:13 AM
arsenm closed this revision.Feb 22 2016, 2:06 PM

r261580