From 71df3f8cabce61a1cab31596f0f0cf8803461e80 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 30 Mar 2005 01:10:00 +0000 Subject: [PATCH] don't depend on the cfg being set up yet git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20936 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86ISelPattern.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/X86/X86ISelPattern.cpp b/lib/Target/X86/X86ISelPattern.cpp index d989d3e8628..5d91fe41b48 100644 --- a/lib/Target/X86/X86ISelPattern.cpp +++ b/lib/Target/X86/X86ISelPattern.cpp @@ -444,7 +444,7 @@ void ISel::InstructionSelectBasicBlock(SelectionDAG &DAG) { // basic blocks. This will be a huge win, but we are waiting on the global // allocators before we can do this. // - if (ContainsFPCode && BB->succ_size()) { + if (ContainsFPCode) { BuildMI(*BB, BB->getFirstTerminator(), X86::FP_REG_KILL, 0); ++NumFPKill; } -- 2.34.1