InMips16HardFloat was only being set conditional on whether or
authorEric Christopher <echristo@gmail.com>
Thu, 7 May 2015 23:10:23 +0000 (23:10 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 7 May 2015 23:10:23 +0000 (23:10 +0000)
not IsSoftFloat was set so remove it from here simplifying the
accessor.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236795 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Mips/MipsSubtarget.h

index 7e9b5a6808179f601df0a35bda6cf2762607ab85..0bfafc8b47a6e453990ced7abcdb15643f6bf1d2 100644 (file)
@@ -236,7 +236,7 @@ public:
 
   bool hasStandardEncoding() const { return !inMips16Mode(); }
 
-  bool useSoftFloat() const { return IsSoftFloat && !InMips16HardFloat; }
+  bool useSoftFloat() const { return IsSoftFloat; }
 
   bool enableLongBranchPass() const {
     return hasStandardEncoding() || allowMixed16_32();