Always add the target-cpu and target-features sets if they're non-null.
authorEric Christopher <echristo@gmail.com>
Mon, 27 Apr 2015 23:11:34 +0000 (23:11 +0000)
committerEric Christopher <echristo@gmail.com>
Mon, 27 Apr 2015 23:11:34 +0000 (23:11 +0000)
commitf37ab1ca73d1442518fc685c035833fd8f1fab34
tree4cf0d15e1b12bce9e73138e5adf3e6ab8fbf2b80
parent7cc3494deabb58d810cb1e56636d033572ae4ee4
Always add the target-cpu and target-features sets if they're non-null.
This makes sure that the front end is specific about what they're expecting
the backend to produce. Update a FIXME with the idea that the target-features
could be more precise using backend knowledge.

llvm-svn: 235936
clang/lib/CodeGen/CGCall.cpp
clang/test/CodeGen/function-target-features.c