mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
radeon/llvm: Use correct node type when lowering SETCC
This commit is contained in:
parent
47d1b0a809
commit
46d12c99a2
1 changed files with 1 additions and 0 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue