This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Generate ABI_optimization_goals build attribute, as described in the ARM ARM.
ClosedPublic

Authored by tyomitch on Nov 23 2015, 1:53 PM.

Details

Summary

Since this build attribute corresponds to a whole module, and
different functions in a module may differ in the optimizations
enabled for them, this attribute is emitted after all functions,
and only in the case that the optimization goals for all
functions match.

Diff Detail

Repository
rL LLVM

Event Timeline

tyomitch updated this revision to Diff 40972.Nov 23 2015, 1:53 PM
tyomitch retitled this revision from to [ARM] Generate ABI_optimization_goals build attribute, as described in the ARM ARM..
tyomitch updated this object.
tyomitch added reviewers: logan, hans.
tyomitch added a subscriber: llvm-commits.
rengolin accepted this revision.Nov 27 2015, 5:27 AM
rengolin added a reviewer: rengolin.

Seems like a reasonable change. LGTM. Thanks!

test/MC/ARM/data-in-code.ll
73 ↗(On Diff #40972)

I'm guessing that this is due to the change in time when the attributes section is emitted?

This revision is now accepted and ready to land.Nov 27 2015, 5:27 AM
This revision was automatically updated to reflect the committed changes.

Thanks for the review!

test/MC/ARM/data-in-code.ll
73 ↗(On Diff #40972)

Yes I think so.

I didn't do any deep investigation, as the change in order wouldn't have any effect on linking.