- Fix SelectionDAG to generate correct CFGs.
authorOwen Anderson <resistor@mac.com>
Mon, 4 Aug 2008 23:54:43 +0000 (23:54 +0000)
committerOwen Anderson <resistor@mac.com>
Mon, 4 Aug 2008 23:54:43 +0000 (23:54 +0000)
commitbd3ba461eb5578a81ba09ff7bd7eb271d1130196
treef97e9269835f2a482c4f28f14e48de796079d007
parentb42a6261225e5a1b9a75b9aa11732944046d7999
- Fix SelectionDAG to generate correct CFGs.
- Add a basic machine-level dead block eliminator.

These two have to go together, since many other parts of the code generator are unable to handle the unreachable blocks otherwise created.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54333 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LiveVariables.h
include/llvm/CodeGen/Passes.h
include/llvm/Target/TargetOptions.h
lib/CodeGen/LiveVariables.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
lib/CodeGen/UnreachableBlockElim.cpp
lib/Target/TargetMachine.cpp