This is an archive of the discontinued LLVM Phabricator instance.

LegalizeDAG: Move unaligned load/store expansion to TLI
ClosedPublic

Authored by arsenm on Apr 14 2016, 4:31 PM.

Details

Summary

When custom lowered, this is not called if the store is custom
lowered. Move it to be a utility function so targets can
easily expand unaligned accesses when custom lowering.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 53806.Apr 14 2016, 4:31 PM
arsenm retitled this revision from to LegalizeDAG: Move unaligned load/store expansion to TLI.
arsenm updated this object.
arsenm added reviewers: tstellarAMD, resistor.
arsenm added a subscriber: llvm-commits.

Are there some core LLVM changes missing from this patch?

arsenm updated this revision to Diff 53883.Apr 15 2016, 7:46 AM
arsenm edited edge metadata.

Attach right patch

tstellarAMD accepted this revision.Apr 21 2016, 10:23 AM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Apr 21 2016, 10:23 AM
arsenm closed this revision.Apr 21 2016, 11:25 AM

r267029