From c0b80631b66a1b29c32f3c7333b075fb551185ce Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 7 May 2015 23:10:23 +0000 Subject: [PATCH] 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 --- lib/Target/Mips/MipsSubtarget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.34.1