projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
330497f
)
InMips16HardFloat was only being set conditional on whether or
author
Eric Christopher
<echristo@gmail.com>
Thu, 7 May 2015 23:10:23 +0000
(23:10 +0000)
committer
Eric 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
patch
|
blob
|
history
diff --git
a/lib/Target/Mips/MipsSubtarget.h
b/lib/Target/Mips/MipsSubtarget.h
index 7e9b5a6808179f601df0a35bda6cf2762607ab85..0bfafc8b47a6e453990ced7abcdb15643f6bf1d2 100644
(file)
--- 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();