llvm.org GIT mirror llvm / 663da44
Reland r303247: [ARM] GlobalISel: Remove dead instruction selection code It only failed on llvm-clang-x86_64-expensive-checks-win, probably because the TableGen stuff hasn't been regenerated. Requires a clean build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303252 91177308-0d34-0410-b5e6-96231b3b80d8 Diana Picus 3 years ago
1 changed file(s) with 0 addition(s) and 15 deletion(s). Raw diff Collapse all Expand all
344344 I.setDesc(TII.get(COPY));
345345 return selectCopy(I, TII, MRI, TRI, RBI);
346346 }
347 case G_ADD:
348347 case G_GEP:
349348 I.setDesc(TII.get(ARM::ADDrr));
350 MIB.add(predOps(ARMCC::AL)).add(condCodeOp());
351 break;
352 case G_SUB:
353 I.setDesc(TII.get(ARM::SUBrr));
354 MIB.add(predOps(ARMCC::AL)).add(condCodeOp());
355 break;
356 case G_MUL:
357 if (TII.getSubtarget().hasV6Ops()) {
358 I.setDesc(TII.get(ARM::MUL));
359 } else {
360 assert(TII.getSubtarget().useMulOps() && "Unsupported target");
361 I.setDesc(TII.get(ARM::MULv5));
362 MIB->getOperand(0).setIsEarlyClobber(true);
363 }
364349 MIB.add(predOps(ARMCC::AL)).add(condCodeOp());
365350 break;
366351 case G_FRAME_INDEX: