mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 07:34:33 +00:00
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:
parent
23afcfb063
commit
71df3f8cab
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user