From: Eric Christopher Date: Thu, 7 May 2015 23:10:23 +0000 (+0000) Subject: InMips16HardFloat was only being set conditional on whether or X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c0b80631b66a1b29c32f3c7333b075fb551185ce;p=oota-llvm.git InMips16HardFloat was only being set conditional on whether or 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 --- diff --git a/lib/Target/Mips/MipsSubtarget.h b/lib/Target/Mips/MipsSubtarget.h index 7e9b5a68081..0bfafc8b47a 100644 --- a/lib/Target/Mips/MipsSubtarget.h +++ b/lib/Target/Mips/MipsSubtarget.h @@ -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();