radeon/llvm: Use correct node type when lowering SETCC
This commit is contained in:
@@ -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(),
|
||||
|
Reference in New Issue
Block a user