This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Add missing Tag_DIV_use tests.
ClosedPublic

Authored by chatur01 on Dec 18 2014, 8:29 AM.

Details

Reviewers
rengolin
Summary

Some of the CPUs tested in test/CodeGen/ARM/build-attributes.ll were missing tests for this attribute.

This patch adds the missing tests.

Diff Detail

Event Timeline

chatur01 retitled this revision from to [ARM] Add missing Tag_DIV_use tests..
chatur01 updated this object.
chatur01 edited the test plan for this revision. (Show Details)
chatur01 set the repository for this revision to rL LLVM.
chatur01 added a subscriber: Unknown Object (MLST).

Could you add a test for A15 or A7 and add a check for that attribute (among others)? Just to make sure we cover all cases.

Otherwise, LGTM.

Hi Renato, happy new year!

Could you add a test for A15 or A7 and add a check for that attribute (among others)? Just to make sure we cover all cases.

The A15 and A7 have existing tests for this tag. This patch adds some missing tests for other CPUs.

This test file isn't exhaustive over the cross product of ARM CPUs / architecture variants / command line options and their effects on build attributes. That would be nice, but I don't have time to finish it off, and perhaps it would be better suited to being mechanically generated rather than maintained by hand due to the size of such a test file.

Otherwise, LGTM.

Thanks, after your blessing of the above, I'll commit.

Thanks for reviewing,
Charlie.

rengolin accepted this revision.Jan 6 2015, 11:01 AM
rengolin added a reviewer: rengolin.

Makes sense. LGTM. Thanks!

This revision is now accepted and ready to land.Jan 6 2015, 11:01 AM

Thanks Renato, committed r225348.

rengolin closed this revision.Mar 10 2015, 5:02 AM