This is an archive of the discontinued LLVM Phabricator instance.

[mips] Accept but ignore -m(no-)branch-likely
ClosedPublic

Authored by sdardis on Sep 22 2017, 2:16 AM.

Details

Summary

-mbranch-likely and -mno-branch-likely are used in some build systems for
some MIPS targets. Accept these options but ignore them as they are an
(de)optimiztion hint, and that branch likely instructions were deprecated
but not removed from MIPS32 and MIPS64 ISAs.