]> granicus.if.org Git - clang/commit
[mips] Compact branch policy setting.
authorSimon Dardis <simon.dardis@imgtec.com>
Fri, 27 May 2016 15:13:31 +0000 (15:13 +0000)
committerSimon Dardis <simon.dardis@imgtec.com>
Fri, 27 May 2016 15:13:31 +0000 (15:13 +0000)
commit536826934374f81983a1cb2bec3092bc1b9f7535
tree5e377e45afd9888ba64c6aa6b4737890755bf950
parent3317d0fa0bd1f5c5adc14bcc6adc2a38acc9064b
[mips] Compact branch policy setting.

This patch adds the commandline option -mcompact-branches={never,optimal,always),
which controls how LLVM generates compact branches for MIPSR6 targets. By default,
the compact branch policy is 'optimal' where LLVM will generate the most
appropriate branch for any situation. The 'never' and 'always' policy will disable
or always generate compact branches wherever possible respectfully.

Reviewers: dsanders, vkalintiris, atanasyan

Differential Revision: http://reviews.llvm.org/D20729

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@271000 91177308-0d34-0410-b5e6-96231b3b80d8
docs/UsersManual.rst
include/clang/Basic/DiagnosticDriverKinds.td
include/clang/Basic/DiagnosticGroups.td
include/clang/Driver/Options.td
lib/Driver/Tools.cpp
lib/Driver/Tools.h
test/Driver/mips-features.c