[llvm-commits] [llvm] r46555 - /llvm/trunk/lib/Transforms/Scalar/DeadStoreElimination.cpp
Chris Lattner
clattner at apple.com
Wed Jan 30 11:03:19 PST 2008
On Jan 30, 2008, at 12:01 AM, Nick Lewycky wrote:
> Author: nicholas
> Date: Wed Jan 30 02:01:28 2008
> New Revision: 46555
>
> URL: http://llvm.org/viewvc/llvm-project?rev=46555&view=rev
> Log:
> Remove a couple more cases of "getNumUses() == 0". No need to walk
> the linked
> list just to see if whether the list is empty.
O(N) -> O(1), very nice :)
-Chris
More information about the llvm-commits
mailing list