mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-17 18:31:04 +00:00
Define variable HasMips64 in MipsTargetLowering.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140569 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
09dd60feef
commit
8b4198da9d
@ -82,9 +82,9 @@ const char *MipsTargetLowering::getTargetNodeName(unsigned Opcode) const {
|
|||||||
|
|
||||||
MipsTargetLowering::
|
MipsTargetLowering::
|
||||||
MipsTargetLowering(MipsTargetMachine &TM)
|
MipsTargetLowering(MipsTargetMachine &TM)
|
||||||
: TargetLowering(TM, new MipsTargetObjectFile()) {
|
: TargetLowering(TM, new MipsTargetObjectFile()),
|
||||||
Subtarget = &TM.getSubtarget<MipsSubtarget>();
|
Subtarget(&TM.getSubtarget<MipsSubtarget>()),
|
||||||
bool HasMips64 = Subtarget->hasMips64();
|
HasMips64(Subtarget->hasMips64()) {
|
||||||
|
|
||||||
// Mips does not have i1 type, so use i32 for
|
// Mips does not have i1 type, so use i32 for
|
||||||
// setcc operations results (slt, sgt, ...).
|
// setcc operations results (slt, sgt, ...).
|
||||||
|
@ -115,6 +115,7 @@ namespace llvm {
|
|||||||
// Subtarget Info
|
// Subtarget Info
|
||||||
const MipsSubtarget *Subtarget;
|
const MipsSubtarget *Subtarget;
|
||||||
|
|
||||||
|
bool HasMips64;
|
||||||
|
|
||||||
// Lower Operand helpers
|
// Lower Operand helpers
|
||||||
SDValue LowerCallResult(SDValue Chain, SDValue InFlag,
|
SDValue LowerCallResult(SDValue Chain, SDValue InFlag,
|
||||||
|
Loading…
Reference in New Issue
Block a user