Add -m(no)-spe to clang
authorJustin Hibbits <jrh29@alumni.cwru.edu>
Thu, 5 Sep 2019 13:38:46 +0000 (13:38 +0000)
committerJustin Hibbits <jrh29@alumni.cwru.edu>
Thu, 5 Sep 2019 13:38:46 +0000 (13:38 +0000)
commit3dac214273ee354ca7139c8b4f0ff70bd4d122e3
treee8574bdbf828a1d84b5f2bf8009fc25e3a06705e
parent2172f3f49d279241060038b0d1886d1e6a7e2bc8
Add -m(no)-spe to clang

Summary:
r337347 added support for the Signal Processing Engine (SPE) to LLVM.
This follows that up with the clang side.

This adds -mspe and -mno-spe, to match GCC.

Subscribers: nemanjai, kbarton, cfe-commits

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

llvm-svn: 371066
clang/include/clang/Driver/Options.td
clang/lib/Basic/Targets/PPC.cpp
clang/lib/Basic/Targets/PPC.h
clang/lib/CodeGen/TargetInfo.cpp
clang/test/Driver/ppc-features.cpp
clang/test/Preprocessor/init.c