diff options
author | Zoran Jovanovic <zoran.jovanovic@imgtec.com> | 2016-01-28 11:08:03 +0000 |
---|---|---|
committer | Zoran Jovanovic <zoran.jovanovic@imgtec.com> | 2016-01-28 11:08:03 +0000 |
commit | 838eabcd46b7518d87bbdc583a929e9c3bcd3a98 (patch) | |
tree | fd6465b8842f8c479400c381519473a75ad0ad24 /llvm/lib/Target/Mips/MipsFastISel.cpp | |
parent | 39b686248264e7700c48d54a6e01c02563befa68 (diff) | |
download | llvm-838eabcd46b7518d87bbdc583a929e9c3bcd3a98.zip llvm-838eabcd46b7518d87bbdc583a929e9c3bcd3a98.tar.gz llvm-838eabcd46b7518d87bbdc583a929e9c3bcd3a98.tar.bz2 |
[mips][microMIPS] Disable FastISel for microMIPS
Author: milena.vujosevic.janicic
Reviewers: dsanders
FastIsel is not supported for microMIPS, thus it needs to be disabled.
Test micromips-zero-mat-uses.ll is deleted since the tested sequence of instructions is not generated for microMIPS without FastISel.
Differential Revision: http://reviews.llvm.org/D15892
llvm-svn: 259039
Diffstat (limited to 'llvm/lib/Target/Mips/MipsFastISel.cpp')
-rw-r--r-- | llvm/lib/Target/Mips/MipsFastISel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsFastISel.cpp b/llvm/lib/Target/Mips/MipsFastISel.cpp index 8bbe3d4..d8ac6d6 100644 --- a/llvm/lib/Target/Mips/MipsFastISel.cpp +++ b/llvm/lib/Target/Mips/MipsFastISel.cpp @@ -192,7 +192,8 @@ public: TII(*Subtarget->getInstrInfo()), TLI(*Subtarget->getTargetLowering()) { MFI = funcInfo.MF->getInfo<MipsFunctionInfo>(); Context = &funcInfo.Fn->getContext(); - bool ISASupported = !Subtarget->hasMips32r6() && Subtarget->hasMips32(); + bool ISASupported = !Subtarget->hasMips32r6() && + !Subtarget->inMicroMipsMode() && Subtarget->hasMips32(); TargetSupported = ISASupported && (TM.getRelocationModel() == Reloc::PIC_) && (static_cast<const MipsTargetMachine &>(TM).getABI().IsO32()); |