This is an archive of the discontinued LLVM Phabricator instance.

Pass MCSubtargetInfo instead of CPU and Triple to createMCAsmBackend
AbandonedPublic

Authored by aturetsk on Jun 7 2016, 4:59 AM.

Details

Summary

Pass MCSubtargetInfo instead of CPU and Triple to AsmBackend in order to be able to reach feature bits there (e.g. for ckecking of long nop support).
CPU and Triple are taken from MCSubtargetInfo.

Diff Detail

Event Timeline

aturetsk updated this revision to Diff 59865.Jun 7 2016, 4:59 AM
aturetsk retitled this revision from to Pass MCSubtargetInfo instead of CPU and Triple to createMCAsmBackend.
aturetsk updated this object.
aturetsk added reviewers: bruno, echristo, ahatanak, RKSimon.
aturetsk added a subscriber: cfe-commits.
echristo requested changes to this revision.Jun 7 2016, 2:31 PM
echristo edited edge metadata.

I followed up in the original thread, I don't think this is going to be the right direction.

Thanks.

-eric

This revision now requires changes to proceed.Jun 7 2016, 2:31 PM