Add the 'target-cpu' and 'target-features' attributes to functions.
authorBill Wendling <isanbard@gmail.com>
Fri, 15 Feb 2013 21:30:01 +0000 (21:30 +0000)
committerBill Wendling <isanbard@gmail.com>
Fri, 15 Feb 2013 21:30:01 +0000 (21:30 +0000)
commit985d1c5d15d7a09d4cf7fdad1d502aadc1672fd6
treeb8a47e64d3688decb45cf1c7f3c5613f9bb7d2d6
parente78ecc2cc70b48907fdaea4dbadf0aecb84f2f86
Add the 'target-cpu' and 'target-features' attributes to functions.

The back-end will use these values to reconfigure code generation for different
features.

llvm-svn: 175308
19 files changed:
clang/lib/CodeGen/CGCall.cpp
clang/test/CodeGen/alias.c
clang/test/CodeGen/attr-naked.c
clang/test/CodeGen/attributes.c
clang/test/CodeGen/incomplete-function-type-2.c
clang/test/CodeGen/ms-declspecs.c
clang/test/CodeGen/ppc64-complex-parms.c
clang/test/CodeGen/ppc64-complex-return.c
clang/test/CodeGen/stack-protector.c
clang/test/CodeGen/unwind-attr.c
clang/test/CodeGenCXX/2009-05-04-PureConstNounwind.cpp
clang/test/CodeGenCXX/attr.cpp
clang/test/CodeGenCXX/cxx11-exception-spec.cpp
clang/test/CodeGenCXX/debug-info-globalinit.cpp
clang/test/CodeGenCXX/lambda-expressions.cpp
clang/test/CodeGenObjC/arc-no-arc-exceptions.m
clang/test/CodeGenObjC/arc.m
clang/test/CodeGenObjC/gnu-exceptions.m
clang/test/CodeGenObjCXX/lambda-expressions.mm