mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-12 22:17:47 +00:00
Fix warnings with -DNDEBUG
Patch by: NAKAMURA Takumi llvm-svn: 170142
This commit is contained in:
parent
bd4902c44a
commit
36a0b013a7
@ -75,5 +75,5 @@ Function*
|
|||||||
AMDGPUIntrinsicInfo::getDeclaration(Module *M, unsigned IntrID,
|
AMDGPUIntrinsicInfo::getDeclaration(Module *M, unsigned IntrID,
|
||||||
Type **Tys,
|
Type **Tys,
|
||||||
unsigned numTys) const {
|
unsigned numTys) const {
|
||||||
assert(!"Not implemented");
|
llvm_unreachable("Not implemented");
|
||||||
}
|
}
|
||||||
|
@ -413,7 +413,7 @@ SDValue R600TargetLowering::LowerOperation(SDValue Op, SelectionDAG &DAG) const
|
|||||||
Inst = 1;
|
Inst = 1;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
assert(0 && "Wrong buffer id for stream outputs !");
|
llvm_unreachable("Wrong buffer id for stream outputs !");
|
||||||
}
|
}
|
||||||
|
|
||||||
return InsertScalarToRegisterExport(DAG, Op.getDebugLoc(), OutputsMap,
|
return InsertScalarToRegisterExport(DAG, Op.getDebugLoc(), OutputsMap,
|
||||||
|
@ -605,6 +605,7 @@ MachineOperand &R600InstrInfo::getFlagOp(MachineInstr *MI, unsigned SrcIdx,
|
|||||||
case MO_FLAG_ABS:
|
case MO_FLAG_ABS:
|
||||||
assert(!IsOP3 && "Cannot set absolute value modifier for OP3 "
|
assert(!IsOP3 && "Cannot set absolute value modifier for OP3 "
|
||||||
"instructions.");
|
"instructions.");
|
||||||
|
(void)IsOP3;
|
||||||
switch (SrcIdx) {
|
switch (SrcIdx) {
|
||||||
case 0: FlagIndex = getOperandIdx(*MI, R600Operands::SRC0_ABS); break;
|
case 0: FlagIndex = getOperandIdx(*MI, R600Operands::SRC0_ABS); break;
|
||||||
case 1: FlagIndex = getOperandIdx(*MI, R600Operands::SRC1_ABS); break;
|
case 1: FlagIndex = getOperandIdx(*MI, R600Operands::SRC1_ABS); break;
|
||||||
|
Loading…
Reference in New Issue
Block a user