summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/SparcSubtarget.cpp
diff options
context:
space:
mode:
authorChris Dewhurst <chris.dewhurst@lero.ie>2016-05-18 09:14:13 +0000
committerChris Dewhurst <chris.dewhurst@lero.ie>2016-05-18 09:14:13 +0000
commit68388a0a9988ee4ec762a1605f3884709391345b (patch)
treebd2a02a3020efb8554b4bc50228ff1a0230a057c /llvm/lib/Target/Sparc/SparcSubtarget.cpp
parenta7547183ecb79e71ac5290dd787260d905a1d334 (diff)
downloadbcm5719-llvm-68388a0a9988ee4ec762a1605f3884709391345b.tar.gz
bcm5719-llvm-68388a0a9988ee4ec762a1605f3884709391345b.zip
[Sparc] Add Soft Float support
This change adds support for software floating point operations for Sparc targets. This is the first in a set of patches to enable software floating point on Sparc. The next patch will enable the option to be used with Clang. Differential Revision: http://reviews.llvm.org/D19265 llvm-svn: 269892
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcSubtarget.cpp')
-rw-r--r--llvm/lib/Target/Sparc/SparcSubtarget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/Sparc/SparcSubtarget.cpp b/llvm/lib/Target/Sparc/SparcSubtarget.cpp
index 8049ae41314..f3b50d40323 100644
--- a/llvm/lib/Target/Sparc/SparcSubtarget.cpp
+++ b/llvm/lib/Target/Sparc/SparcSubtarget.cpp
@@ -34,6 +34,7 @@ SparcSubtarget &SparcSubtarget::initializeSubtargetDependencies(StringRef CPU,
IsVIS = false;
HasHardQuad = false;
UsePopc = false;
+ UseSoftFloat = false;
// Leon features
HasLeonCasa = false;
OpenPOWER on IntegriCloud