[mips] Accept but ignore -m(no-)branch-likely
authorSimon Dardis <simon.dardis@imgtec.com>
Tue, 26 Sep 2017 15:01:21 +0000 (15:01 +0000)
committerSimon Dardis <simon.dardis@imgtec.com>
Tue, 26 Sep 2017 15:01:21 +0000 (15:01 +0000)
commitef41f6a57328100471c169332d03fc35918a65d1
treef446e4c62e0d3daafbd834f23534a6c76442cfa7
parent1f93d0f1f95d09c52f53a0dd919759ab5fc40bd4
[mips] Accept but ignore -m(no-)branch-likely

-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.

Reviewers: atanasyan, nitesh.jain

Differential Revision: https://reviews.llvm.org/D38168

llvm-svn: 314213
clang/include/clang/Driver/Options.td
clang/test/Driver/mips-features.c