[llvm-commits] [llvm] r140261 - /llvm/trunk/lib/Target/Mips/MipsSubtarget.cpp
Akira Hatanaka
ahatanak at gmail.com
Wed Sep 21 10:31:46 PDT 2011
Author: ahatanak
Date: Wed Sep 21 12:31:45 2011
New Revision: 140261
URL: http://llvm.org/viewvc/llvm-project?rev=140261&view=rev
Log:
Undo a change made in r140254.
MipsArchVersion needs to be initialized to Mips32.
Modified:
llvm/trunk/lib/Target/Mips/MipsSubtarget.cpp
Modified: llvm/trunk/lib/Target/Mips/MipsSubtarget.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsSubtarget.cpp?rev=140261&r1=140260&r2=140261&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsSubtarget.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsSubtarget.cpp Wed Sep 21 12:31:45 2011
@@ -24,10 +24,10 @@
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())
More information about the llvm-commits
mailing list