]> granicus.if.org Git - clang/commit
[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)
commit1a2e48066b2e65a7ed9e2da5eff6bf96c98dd7b0
tree6586d239a73d2cf726b517e52eb721e59109791a
parenta65a2a03a8ba32c20fa525cd95216f3b0c0bd8b4
[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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314213 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
test/Driver/mips-features.c