Enhance RecursivelyDeleteTriviallyDeadInstructions to optionally
authorChris Lattner <sabre@nondot.org>
Thu, 27 Nov 2008 23:14:34 +0000 (23:14 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 27 Nov 2008 23:14:34 +0000 (23:14 +0000)
commit4f02c74a8ec8f4ca83b823146cb9c987ed79b3f6
treea11072160742514d79e0165df7592ec971c625ac
parenta0d4486073f6303fbf33b50ac3fbae4601ea0229
Enhance RecursivelyDeleteTriviallyDeadInstructions to optionally
return a list of deleted instructions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60193 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/Utils/Local.h
lib/Transforms/Utils/Local.cpp