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
This commit is contained in:
Chris Lattner 2005-03-30 01:10:00 +00:00
parent 23afcfb063
commit 71df3f8cab

View File

@ -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;
}