1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

hum, writing on one machine, testing on another...

llvm-svn: 19844
This commit is contained in:
Andrew Lenharth 2005-01-26 02:53:56 +00:00
parent 53ad9ac1db
commit f9f01c190b

View File

@ -665,10 +665,11 @@ unsigned ISel::SelectExpr(SDOperand N) {
// the ops are expanded into special library calls with
// special calling conventions
switch(N.getOpcode()) {
case UREM: Opc = Alpha::REMQU; break;
case SREM: Opc = Alpha::REMQ; break;
case UDIV: Opc = Alpha::DIVQU; break;
case SDIV: Opc = Alpha::DIVQ; break;
case ISD::UREM: Opc = Alpha::REMQU; break;
case ISD::SREM: Opc = Alpha::REMQ; break;
case ISD::UDIV: Opc = Alpha::DIVQU; break;
case ISD::SDIV: Opc = Alpha::DIVQ; break;
};
Tmp1 = SelectExpr(N.getOperand(0));
Tmp2 = SelectExpr(N.getOperand(1));
BuildMI(BB, Opc, 2, Result).addReg(Tmp1).addReg(Tmp2);