mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-17 03:30:28 +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(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, ...).
|
||||
|
@ -114,7 +114,8 @@ namespace llvm {
|
||||
private:
|
||||
// Subtarget Info
|
||||
const MipsSubtarget *Subtarget;
|
||||
|
||||
|
||||
bool HasMips64;
|
||||
|
||||
// Lower Operand helpers
|
||||
SDValue LowerCallResult(SDValue Chain, SDValue InFlag,
|
||||
|
Loading…
Reference in New Issue
Block a user