This is an archive of the discontinued LLVM Phabricator instance.

Add ARM support to update_llc_test_checks.py
ClosedPublic

Authored by efriedma on Dec 15 2016, 3:24 PM.

Details

Summary

Just the minimal support to get it working at the moment.

I don't think auto-sensing the target based on assembly output is really a good idea, but I'm not sure what the right approach is.

Includes checks for test/CodeGen/ARM/vzip.ll as an example.

Diff Detail

Repository
rL LLVM

Event Timeline

efriedma updated this revision to Diff 81675.Dec 15 2016, 3:24 PM
efriedma retitled this revision from to Add ARM support to update_llc_test_checks.py.
efriedma updated this object.
efriedma set the repository for this revision to rL LLVM.
efriedma added a subscriber: llvm-commits.
chandlerc accepted this revision.Dec 15 2016, 3:40 PM
chandlerc edited edge metadata.

sweet!

test/CodeGen/ARM/vzip.ll
1 ↗(On Diff #81675)

Is it worth commenting? We haven't in x86 land... For example, they are structured so that it is OK if some contributors just directly edit the test cases for expedience and we can re-synchronize with script output when useful.

This revision is now accepted and ready to land.Dec 15 2016, 3:40 PM
efriedma added inline comments.Dec 15 2016, 4:03 PM
test/CodeGen/ARM/vzip.ll
1 ↗(On Diff #81675)

The comment is autogenerated by update_llc_test_checks.py. I don't see any reason to remove it in this context.

chandlerc added inline comments.Dec 15 2016, 5:41 PM
test/CodeGen/ARM/vzip.ll
1 ↗(On Diff #81675)

Shows what I know. =] Carry on!

RKSimon added inline comments.Dec 16 2016, 2:46 AM
test/CodeGen/ARM/vzip.ll
1 ↗(On Diff #81675)

The autogenerated comments were added to the script (funnily enough by one of the ARM guys) to help developers who didn't know about update_llc_test_checks.py and got a little 'alarmed' about the size of some of the codegen.

This revision was automatically updated to reflect the committed changes.