mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
Remainder operations must be either integer or floating-point.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43781 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f67f73a519
commit
0d97426b7b
@ -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