projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid resetting the UseSoftFloat and FloatABIType on the TargetMachine
[oota-llvm.git]
/
lib
/
Target
/
Mips
/
MCTargetDesc
/
MipsABIFlagsSection.h
diff --git
a/lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h
b/lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h
index e56efd04ac1434dbd919b8e537da962827eab2cf..ea5bc12b07406b875aee320d2a860047b093307a 100644
(file)
--- a/
lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h
+++ b/
lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h
@@
-181,7
+181,7
@@
public:
template <class PredicateLibrary>
void setCPR1SizeFromPredicates(const PredicateLibrary &P) {
- if (P.
mipsSE
UsesSoftFloat())
+ if (P.
abi
UsesSoftFloat())
CPR1Size = AFL_REG_NONE;
else if (P.hasMSA())
CPR1Size = AFL_REG_128;