diff options
author | Eric Christopher <echristo@gmail.com> | 2015-06-12 01:35:52 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2015-06-12 01:35:52 +0000 |
commit | 11acf739f8f7737137a0641e49a48e2f30b5f759 (patch) | |
tree | 5ab019c94c013627c21f79f38171bc7cf0a16528 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | a1431077de66aebf75e1da83f56314a78cb8ebb2 (diff) | |
download | llvm-11acf739f8f7737137a0641e49a48e2f30b5f759.zip llvm-11acf739f8f7737137a0641e49a48e2f30b5f759.tar.gz llvm-11acf739f8f7737137a0641e49a48e2f30b5f759.tar.bz2 |
Add support for the the target attribute.
Modeled after the gcc attribute of the same name, this feature
allows source level annotations to correspond to backend code
generation. In llvm particular parlance, this allows the adding
of subtarget features and changing the cpu for a particular function
based on source level hints.
This has been added into the existing support for function level
attributes without particular verification for any target outside
of whether or not the backend will support the features/cpu given
(similar to section, etc).
llvm-svn: 239579
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions