]> granicus.if.org Git - clang/commit
[Sparc] Allow LEON cpu models to be selected with -mcpu
authorJacob Baungard Hansen <jacob.hansen@esa.int>
Mon, 4 Jul 2016 08:56:08 +0000 (08:56 +0000)
committerJacob Baungard Hansen <jacob.hansen@esa.int>
Mon, 4 Jul 2016 08:56:08 +0000 (08:56 +0000)
commit517048062fb1105e9dcb43799fbe47553b32d35b
tree955cce6c88342488bf974fb75c88a01e95e95224
parent26beeb169c96ec72df2f7d1afd86e0cea6c13599
[Sparc] Allow LEON cpu models to be selected with -mcpu

Summary: This change exposes the recently added LEON CPUs (D19359) in the LLVM Sparc backend to Clang, allowing the cpu's to be selected using the -mcpu flag.

Reviewers: jyknight, lero_chris

Subscribers: jyknight, cfe-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274487 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets.cpp
lib/Driver/Tools.cpp
test/Driver/sparc-as.c