[llvm-commits] [llvm] r62964 - in /llvm/trunk: include/llvm/CodeGen/SelectionDAG.h lib/CodeGen/SelectionDAG/SelectionDAG.cpp

Chris Lattner clattner at apple.com
Sun Jan 25 11:46:26 PST 2009


On Jan 25, 2009, at 8:29 AM, Dan Gohman wrote:

> Author: djg
> Date: Sun Jan 25 10:29:12 2009
> New Revision: 62964
>
> URL: http://llvm.org/viewvc/llvm-project?rev=62964&view=rev
> Log:
> Eliminate the loop that searches through each of the operands
> of each use in the SelectionDAG ReplaceAllUses* functions. Thanks
> to Chris for spotting this opportunity.
>
> Also, factor out code from all 5 of the ReplaceAllUses* functions
> into AddNonLeafNodeToCSEMaps, which is now renamed
> AddModifiedNodeToCSEMaps to more accurately reflect its purpose.

Very nice Dan!

-Chris



More information about the llvm-commits mailing list