[llvm] r236795 - InMips16HardFloat was only being set conditional on whether or
Eric Christopher
echristo at gmail.com
Thu May 7 16:10:24 PDT 2015
Author: echristo
Date: Thu May 7 18:10:23 2015
New Revision: 236795
URL: http://llvm.org/viewvc/llvm-project?rev=236795&view=rev
Log:
InMips16HardFloat was only being set conditional on whether or
not IsSoftFloat was set so remove it from here simplifying the
accessor.
Modified:
llvm/trunk/lib/Target/Mips/MipsSubtarget.h
Modified: llvm/trunk/lib/Target/Mips/MipsSubtarget.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsSubtarget.h?rev=236795&r1=236794&r2=236795&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsSubtarget.h (original)
+++ llvm/trunk/lib/Target/Mips/MipsSubtarget.h Thu May 7 18:10:23 2015
@@ -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();
More information about the llvm-commits
mailing list