This is an archive of the discontinued LLVM Phabricator instance.

[X86] Make -march=i686 an alias of -march=pentiumpro
ClosedPublic

Authored by craig.topper on Oct 26 2017, 3:42 PM.

Details

Summary

I think the only reason they are different is because we don't set tune_i686 for -march=i686 to match GCC. But GCC 4.9.0 seems to have changed this behavior and they do set it now. So I think they can aliases now.

Diff Detail

Repository
rL LLVM

Event Timeline

craig.topper created this revision.Oct 26 2017, 3:42 PM
chandlerc accepted this revision.Oct 26 2017, 3:44 PM

LGTM, nice.

This revision is now accepted and ready to land.Oct 26 2017, 3:44 PM

I suspect the gcc behavior changed when this bug was fixed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59588

This revision was automatically updated to reflect the committed changes.