This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Another f16 litpool fix
ClosedPublic

Authored by SjoerdMeijer on Feb 26 2018, 12:37 PM.

Details

Summary

We were always setting the block alignment to 2 bytes in Thumb mode
and 4-bytes in ARM mode, but this could cause reducing the block
alignment when it already had been aligned (e.g. in Thumb mode when
the block is a CPE that was already 4-byte aligned).

Patch by Momchil Velikov, I've only added a test.

Diff Detail

Event Timeline

SjoerdMeijer created this revision.Feb 26 2018, 12:37 PM
olista01 accepted this revision.Feb 27 2018, 3:03 AM

LGTM.

This revision is now accepted and ready to land.Feb 27 2018, 3:03 AM
This revision was automatically updated to reflect the committed changes.