radeon/llvm: Use correct node type when lowering SETCC

This commit is contained in:
Tom Stellard
2012-07-18 12:22:33 -04:00
parent 47d1b0a809
commit 46d12c99a2

View File

@@ -1375,6 +1375,7 @@ AMDILTargetLowering::LowerSETCC(SDValue Op, SelectionDAG &DAG) const
SetCCOpcode,
LHS.getValueType().getSimpleVT().SimpleTy);
assert((AMDILCC != AMDILCC::COND_ERROR) && "Invalid SetCC!");
assert(Op.getValueType() == MVT::i32);
Cond = DAG.getNode(
ISD::SELECT_CC,
Op.getDebugLoc(),