diff options
author | Eric Christopher <echristo@gmail.com> | 2015-05-07 23:10:23 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2015-05-07 23:10:23 +0000 |
commit | 54966ebc547f2bbd1c4b84a312f4b4bb40e10a65 (patch) | |
tree | 4c04640cc0112964728ca0205b9c5082fd98b2af /llvm/lib/Target/Mips/MipsSubtarget.h | |
parent | e8ae3e3acdea38f82d295f802bed5ec237720eea (diff) | |
download | bcm5719-llvm-54966ebc547f2bbd1c4b84a312f4b4bb40e10a65.tar.gz bcm5719-llvm-54966ebc547f2bbd1c4b84a312f4b4bb40e10a65.zip |
InMips16HardFloat was only being set conditional on whether or
not IsSoftFloat was set so remove it from here simplifying the
accessor.
llvm-svn: 236795
Diffstat (limited to 'llvm/lib/Target/Mips/MipsSubtarget.h')
-rw-r--r-- | llvm/lib/Target/Mips/MipsSubtarget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsSubtarget.h b/llvm/lib/Target/Mips/MipsSubtarget.h index 7e9b5a68081..0bfafc8b47a 100644 --- a/llvm/lib/Target/Mips/MipsSubtarget.h +++ b/llvm/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(); |