mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-13 07:00:59 +00:00
Fix spurious warning in release mode
llvm-svn: 12816
This commit is contained in:
parent
8b1122d4dc
commit
22c22de2f0
@ -509,8 +509,10 @@ static Value *FoldOperationIntoSelectOperand(Instruction &BI, Value *SO,
|
||||
New = BinaryOperator::create(BO->getOpcode(), Op0, Op1);
|
||||
else if (ShiftInst *SI = dyn_cast<ShiftInst>(&BI))
|
||||
New = new ShiftInst(SI->getOpcode(), Op0, Op1);
|
||||
else
|
||||
else {
|
||||
assert(0 && "Unknown binary instruction type!");
|
||||
abort();
|
||||
}
|
||||
return IC->InsertNewInstBefore(New, BI);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user