summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/X86/X86FloatingPoint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86FloatingPoint.cpp b/llvm/lib/Target/X86/X86FloatingPoint.cpp
index 6ee79c16cc5..18e0f909c3f 100644
--- a/llvm/lib/Target/X86/X86FloatingPoint.cpp
+++ b/llvm/lib/Target/X86/X86FloatingPoint.cpp
@@ -964,6 +964,7 @@ void FPS::handleSpecialFP(MachineBasicBlock::iterator &I) {
// This could be made better, but would require substantial changes.
duplicateToTop(SrcReg, DestReg, I);
}
+ }
break;
case X86::RET:
case X86::RETI:
@@ -1043,7 +1044,6 @@ void FPS::handleSpecialFP(MachineBasicBlock::iterator &I) {
StackTop = 0;
return;
}
- }
I = MBB->erase(I); // Remove the pseudo instruction
--I;
OpenPOWER on IntegriCloud