mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Remainder operations must be either integer or floating-point.
llvm-svn: 43781
This commit is contained in:
parent
8e982efdc5
commit
ff12f4602f
@ -2935,7 +2935,9 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
|
||||
SDOperand Dummy;
|
||||
Result = ExpandLibCall(TLI.getLibcallName(LC), Node, isSigned, Dummy);
|
||||
}
|
||||
} else if (MVT::isFloatingPoint(VT)) {
|
||||
} else {
|
||||
assert(MVT::isFloatingPoint(VT) &&
|
||||
"remainder op must have integer or floating-point type");
|
||||
if (MVT::isVector(VT)) {
|
||||
Result = LegalizeOp(UnrollVectorOp(Op));
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user