This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Fix MachO CPU Subtype selection (second attempt)
ClosedPublic

Authored by vsk on Aug 14 2015, 2:35 PM.

Details

Summary

This patch makes the Darwin ARM backend take advantage of TargetParser. It
also teaches TargetParser about ARMV7K for the first time. This makes target
triple parsing more consistent across llvm.

Corrects a previous version of this patch which inserted AK_ARMV7K in the wrong
position in a table.

Diff Detail

Repository
rL LLVM

Event Timeline

vsk updated this revision to Diff 32188.Aug 14 2015, 2:35 PM
vsk retitled this revision from to [ARM] Fix MachO CPU Subtype selection (second attempt).
vsk updated this object.
vsk added reviewers: rengolin, t.p.northover.
rengolin accepted this revision.Aug 17 2015, 3:22 AM
rengolin edited edge metadata.

Tested on x86_64 and ARM, all good. Thanks!

This revision is now accepted and ready to land.Aug 17 2015, 3:22 AM
This revision was automatically updated to reflect the committed changes.