diff options
author | Akira Hatanaka <ahatanak@gmail.com> | 2011-09-21 17:31:45 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanak@gmail.com> | 2011-09-21 17:31:45 +0000 |
commit | 0e64f810a521806838bf90d77f081d3a1da98b5e (patch) | |
tree | 6dbf65cb4db346219d428b1b2b825d2d690c9e85 /lib/Target/Mips/MipsSubtarget.cpp | |
parent | 1d13d9ed969259d3be267cf0e2c6fe92c1baed49 (diff) | |
download | external_llvm-0e64f810a521806838bf90d77f081d3a1da98b5e.zip external_llvm-0e64f810a521806838bf90d77f081d3a1da98b5e.tar.gz external_llvm-0e64f810a521806838bf90d77f081d3a1da98b5e.tar.bz2 |
Undo a change made in r140254.
MipsArchVersion needs to be initialized to Mips32.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140261 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsSubtarget.cpp')
-rw-r--r-- | lib/Target/Mips/MipsSubtarget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/Mips/MipsSubtarget.cpp b/lib/Target/Mips/MipsSubtarget.cpp index c3b7718..016d449 100644 --- a/lib/Target/Mips/MipsSubtarget.cpp +++ b/lib/Target/Mips/MipsSubtarget.cpp @@ -24,10 +24,10 @@ using namespace llvm; MipsSubtarget::MipsSubtarget(const std::string &TT, const std::string &CPU, const std::string &FS, bool little) : MipsGenSubtargetInfo(TT, CPU, FS), - MipsABI(UnknownABI), IsLittle(little), IsSingleFloat(false), - IsFP64bit(false), IsGP64bit(false), HasVFPU(false), IsLinux(true), - HasSEInReg(false), HasCondMov(false), HasMulDivAdd(false), HasMinMax(false), - HasSwap(false), HasBitCount(false) + MipsArchVersion(Mips32), MipsABI(UnknownABI), IsLittle(little), + IsSingleFloat(false), IsFP64bit(false), IsGP64bit(false), HasVFPU(false), + IsLinux(true), HasSEInReg(false), HasCondMov(false), HasMulDivAdd(false), + HasMinMax(false), HasSwap(false), HasBitCount(false) { std::string CPUName = CPU; if (CPUName.empty()) |