]> granicus.if.org Git - clang/commit
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)
commiteda8f7c79451c4e0d53ea41f7b5952356c78ce8b
tree28d25f764dd145960ab13af202c3ff7b7adbcd5b
parent03df01fbfb3002cd37dea6424d90ea08ce3a958c
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.

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