fix PR4767, a crash because fp stackifier visited blocks in
authorChris Lattner <sabre@nondot.org>
Tue, 8 Sep 2009 04:55:44 +0000 (04:55 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 8 Sep 2009 04:55:44 +0000 (04:55 +0000)
commitba3598cb1facb2b5aaa8ec47faf2cd07689a3b86
treeffc896d40cc31d248813ebded64c1c366a0da83a
parent687bc9bfde036e201712f23955bfd2f0564cd2d4
fix PR4767, a crash because fp stackifier visited blocks in
depth first order, so it wouldn't process unreachable blocks.
When compiling at -O0, late dead block elimination isn't done
and the bad instructions got to isel.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81187 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FloatingPoint.cpp
test/CodeGen/X86/fp-stack-O0-crash.ll [new file with mode: 0644]