Page MenuHomePhabricator

[Hexagon] Fix clang driver to parse -mcpu/-mvXX and -march properly.
ClosedPublic

Authored by sgundapa on Oct 3 2019, 8:52 AM.

Details

Reviewers
bcain
bcahoon
Summary

Before this patch if we pass "-mcpu=hexagonv65 -march=hexagon" in this order,
the driver fails to figure out the correct cpu version. This patch fixed this
issue.

Diff Detail

Event Timeline

sgundapa created this revision.Oct 3 2019, 8:52 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 3 2019, 8:52 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
bcain accepted this revision.Oct 10 2019, 2:50 PM

LGTM

This revision is now accepted and ready to land.Oct 10 2019, 2:50 PM
sgundapa closed this revision.Thu, Nov 14, 11:14 AM

I forgot to update the Differential Revision in the commit.