Small improvement: if a function doesn't access memory, we don't need to scan
authorOwen Anderson <resistor@mac.com>
Wed, 8 Aug 2007 17:58:56 +0000 (17:58 +0000)
committerOwen Anderson <resistor@mac.com>
Wed, 8 Aug 2007 17:58:56 +0000 (17:58 +0000)
commitdf359c264eb717ea69ca8dbda91992d707928af0
treecca146f37f20900f0e0facf6ab2f912c553ef691
parentbb3abf41a868357e95b639b34baebf802199e190
Small improvement: if a function doesn't access memory, we don't need to scan
it for potentially undeading pointers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40933 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/DeadStoreElimination.cpp