radeon/llvm: Implement getSetCCResultType for SI

This commit is contained in:
Tom Stellard
2012-07-25 08:41:29 -04:00
parent e8825ce6e1
commit d36455ba2c
2 changed files with 6 additions and 0 deletions
@@ -194,6 +194,11 @@ void SITargetLowering::lowerUSE_SGPR(MachineInstr *MI,
addLiveIn(MI, MF, MRI, TII, newReg);
}
EVT SITargetLowering::getSetCCResultType(EVT VT) const
{
return MVT::i1;
}
//===----------------------------------------------------------------------===//
// Custom DAG Lowering Operations
//===----------------------------------------------------------------------===//
@@ -44,6 +44,7 @@ public:
SITargetLowering(TargetMachine &tm);
virtual MachineBasicBlock * EmitInstrWithCustomInserter(MachineInstr * MI,
MachineBasicBlock * BB) const;
virtual EVT getSetCCResultType(EVT VT) const;
virtual SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const;
};