]> granicus.if.org Git - clang/commit
[mips] Teach the driver to accept -m(no-)gpopt.
authorSimon Dardis <simon.dardis@imgtec.com>
Wed, 19 Jul 2017 10:38:03 +0000 (10:38 +0000)
committerSimon Dardis <simon.dardis@imgtec.com>
Wed, 19 Jul 2017 10:38:03 +0000 (10:38 +0000)
commitfbee01299238342c5bd82bcf90b8e0dfc283be4d
treec6be7f17de9a51efe5a25494e358aa50c9bf5ded
parent29ed0a05e2fe320ac01b5371c404b4c59541690d
[mips] Teach the driver to accept -m(no-)gpopt.

This patch teaches the driver to pass -mgpopt by default to the backend when it
is supported, i.e. we are using -mno-abicalls.

Reviewers: atanasyan, slthakur

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@308431 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticDriverKinds.td
include/clang/Basic/DiagnosticGroups.td
include/clang/Driver/Options.td
lib/Driver/ToolChains/Clang.cpp
test/Driver/mips-features.c