mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-01 01:14:12 +00:00
Fix a broken assertion
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23032 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7cad4f2089
commit
ed7956bfe4
@ -987,7 +987,7 @@ SDOperand PPC32DAGToDAGISel::Select(SDOperand Op) {
|
||||
DestReg = GPR[GPR_idx++];
|
||||
RegTy = MVT::i32;
|
||||
} else {
|
||||
assert(MVT::isFloatingPoint(Op.getValueType()) &&
|
||||
assert(MVT::isFloatingPoint(N->getOperand(i).getValueType()) &&
|
||||
"Unpromoted integer arg?");
|
||||
assert(FPR_idx < 13 && "Too many fp args");
|
||||
DestReg = FPR[FPR_idx++];
|
||||
|
Loading…
Reference in New Issue
Block a user