diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2019-11-21 20:25:12 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2019-11-21 20:25:12 +0000 |
| commit | a1a3a6d36e9ec5151a872ae33a24a5f471efa258 (patch) | |
| tree | cb1afabcc3de399ba4abe31df65e44ed6aa53687 /contrib/llvm/lib/Target | |
| parent | 5f0c7cb67f9e99a991d043aa827fc0b8ffb53209 (diff) | |
Notes
Diffstat (limited to 'contrib/llvm/lib/Target')
| -rw-r--r-- | contrib/llvm/lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/llvm/lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h b/contrib/llvm/lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h index 239e55495e9d..6091ee24b04d 100644 --- a/contrib/llvm/lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h +++ b/contrib/llvm/lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h @@ -139,7 +139,9 @@ public: template <class PredicateLibrary> void setISAExtensionFromPredicates(const PredicateLibrary &P) { - if (P.hasCnMips()) + if (P.hasCnMipsP()) + ISAExtension = Mips::AFL_EXT_OCTEONP; + else if (P.hasCnMips()) ISAExtension = Mips::AFL_EXT_OCTEON; else ISAExtension = Mips::AFL_EXT_NONE; |
