If fast-isel fails, remove dead instructions generated during the failed
authorChad Rosier <mcrosier@apple.com>
Tue, 29 Nov 2011 19:40:47 +0000 (19:40 +0000)
committerChad Rosier <mcrosier@apple.com>
Tue, 29 Nov 2011 19:40:47 +0000 (19:40 +0000)
commitae6f2cb1fc520aa56777dab1e7603aee9429f6dd
treefe1e4bcdfd790431bacad8bb0c6919d0c74b6c18
parentdda8c6ff9eeccf375592d287a41dd18af738e282
If fast-isel fails, remove dead instructions generated during the failed
attempt.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145425 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/FastISel.h
lib/CodeGen/SelectionDAG/FastISel.cpp
test/CodeGen/ARM/fast-isel-deadcode.ll [new file with mode: 0644]