commit | c9f2f61d3426d30605b22ccbd112272d1d36cd28 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Thu Mar 10 20:57:44 2011 +0000 |
committer | Dan Gohman <gohman@apple.com> | Thu Mar 10 20:57:44 2011 +0000 |
tree | c366bc9c7faa0f1ac64dc7c526b8ca1c1cb8fcae | |
parent | 9d2234d6a0a5b2840427927ac971027aec0ddf63 [diff] |
RecursivelyDeleteTriviallyDeadInstructions only needs a Value, not an Instruction, so casting is not necessary. Also, it's theoretically possible that the Value is not an Instruction, since WeakVH follows RAUWs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127427 91177308-0d34-0410-b5e6-96231b3b80d8