]> granicus.if.org Git - clang/commit
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)
commit37dbee50bc576245ab88f23a8dc038efa75fa8d7
tree9bc5f1b432865b8e1627640b10cd3dcaee099e07
parent9fb3e5702c2d11d07ace482aa610b6853a663d44
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@235936 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCall.cpp
test/CodeGen/function-target-features.c