Propagate a terrible hack to the sparc target feature handling code
authorEric Christopher <echristo@gmail.com>
Wed, 29 Apr 2015 23:32:17 +0000 (23:32 +0000)
committerEric Christopher <echristo@gmail.com>
Wed, 29 Apr 2015 23:32:17 +0000 (23:32 +0000)
commitfb481a40544adc6a06ef3594f13ce818e7ad50f8
treee42a88c50ca18112cd81836a7025dfbf9ae8f443
parent3d5925b0e4c86a4f808dcd1061984e2165a54a9d
Propagate a terrible hack to the sparc target feature handling code
by erasing the soft-float target feature if the rest of the front
end added it because of defaults or the soft float option.

Add some testing for some of the targets that implement this hack.

llvm-svn: 236179
clang/lib/Basic/Targets.cpp
clang/test/CodeGen/function-target-features.c