Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 497298 | Differences between
and this patch

Collapse All | Expand All

(-)llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (+6 lines)
Lines 15338-15343 Link Here
15338
    MBB->addSuccessor(EndMBB);
15338
    MBB->addSuccessor(EndMBB);
15339
  }
15339
  }
15340
15340
15341
  // Make sure the last operand is EFLAGS, which gets clobbered by the branch
15342
  // that was just emitted, but clearly shouldn't be "saved".
15343
  assert((MI->getNumOperands() <= 3 ||
15344
          !MI->getOperand(MI->getNumOperands() - 1).isReg() ||
15345
          MI->getOperand(MI->getNumOperands() - 1).getReg() == X86::EFLAGS)
15346
         && "Expected last argument to be EFLAGS");
15341
  unsigned MOVOpc = Subtarget->hasFp256() ? X86::VMOVAPSmr : X86::MOVAPSmr;
15347
  unsigned MOVOpc = Subtarget->hasFp256() ? X86::VMOVAPSmr : X86::MOVAPSmr;
15342
  // In the XMM save block, save all the XMM argument registers.
15348
  // In the XMM save block, save all the XMM argument registers.
15343
  for (int i = 3, e = MI->getNumOperands() - 1; i != e; ++i) {
15349
  for (int i = 3, e = MI->getNumOperands() - 1; i != e; ++i) {

Return to bug 497298