From 3f253d2353d9c013a9b283552be4ddbea2957116 Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Tue, 15 Jun 2010 04:55:06 +0000 Subject: [PATCH] Revert 105986; looks like I'd better try bootstrapping. llvm-svn: 105988 --- llvm/lib/Target/X86/X86RegisterInfo.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/llvm/lib/Target/X86/X86RegisterInfo.cpp b/llvm/lib/Target/X86/X86RegisterInfo.cpp index b80a40ecea47..e74db6d5fcfa 100644 --- a/llvm/lib/Target/X86/X86RegisterInfo.cpp +++ b/llvm/lib/Target/X86/X86RegisterInfo.cpp @@ -1279,11 +1279,9 @@ void X86RegisterInfo::emitEpilogue(MachineFunction &MF, for (unsigned i = 0; i != 5; ++i) MIB.addOperand(MBBI->getOperand(i)); } else if (RetOpcode == X86::TCRETURNri64) { - BuildMI(MBB, MBBI, DL, TII.get(X86::TAILJMPr64)). - addReg(JumpTarget.getReg(), JumpTarget.getTargetFlags()); + BuildMI(MBB, MBBI, DL, TII.get(X86::TAILJMPr64), JumpTarget.getReg()); } else { - BuildMI(MBB, MBBI, DL, TII.get(X86::TAILJMPr)). - addReg(JumpTarget.getReg(), JumpTarget.getTargetFlags()); + BuildMI(MBB, MBBI, DL, TII.get(X86::TAILJMPr), JumpTarget.getReg()); } MachineInstr *NewMI = prior(MBBI);