Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Define variable HasMips64 in MipsTargetLowering.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140569 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information...
commit ba37199698d55ad3039355d70b1d44f687d8f60a 1 parent 2fa224a
Akira Hatanaka authored
View
6 lib/Target/Mips/MipsISelLowering.cpp
@@ -82,9 +82,9 @@ const char *MipsTargetLowering::getTargetNodeName(unsigned Opcode) const {
MipsTargetLowering::
MipsTargetLowering(MipsTargetMachine &TM)
- : TargetLowering(TM, new MipsTargetObjectFile()) {
- Subtarget = &TM.getSubtarget<MipsSubtarget>();
- bool HasMips64 = Subtarget->hasMips64();
+ : TargetLowering(TM, new MipsTargetObjectFile()),
+ Subtarget(&TM.getSubtarget<MipsSubtarget>()),
+ HasMips64(Subtarget->hasMips64()) {
// Mips does not have i1 type, so use i32 for
// setcc operations results (slt, sgt, ...).
View
3  lib/Target/Mips/MipsISelLowering.h
@@ -114,7 +114,8 @@ namespace llvm {
private:
// Subtarget Info
const MipsSubtarget *Subtarget;
-
+
+ bool HasMips64;
// Lower Operand helpers
SDValue LowerCallResult(SDValue Chain, SDValue InFlag,
Please sign in to comment.
Something went wrong with that request. Please try again.