diff options
author | Tom Stellard <[email protected]> | 2012-07-18 12:22:33 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-07-27 17:08:06 +0000 |
commit | 46d12c99a24cebe01cd00575b39961231dec47c8 (patch) | |
tree | 3b0a55cea74fdffb0ecfe79eb391b2a9f924e582 /src/gallium/drivers/radeon | |
parent | 47d1b0a80990dda4e14073f667f0c2b939dfb925 (diff) |
radeon/llvm: Use correct node type when lowering SETCC
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r-- | src/gallium/drivers/radeon/AMDILISelLowering.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/AMDILISelLowering.cpp b/src/gallium/drivers/radeon/AMDILISelLowering.cpp index fb335835425..b36fe42af9b 100644 --- a/src/gallium/drivers/radeon/AMDILISelLowering.cpp +++ b/src/gallium/drivers/radeon/AMDILISelLowering.cpp @@ -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(), |