[llvm-commits] [llvm] r62356 - in /llvm/trunk: include/llvm/CodeGen/ScheduleDAG.h include/llvm/CodeGen/ScheduleDAGSDNodes.h lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp lib/CodeGen/SelectionDAG/ScheduleDAGSDNodesEmit.cpp test/CodeGen/X86/2009-01-16-SchedulerBug.ll

Dan Gohman gohman at apple.com
Fri Jan 16 13:13:16 PST 2009


Hi Evan,

On Jan 16, 2009, at 12:57 PM, Evan Cheng wrote:
>
> +    bool isCloned         : 1;          // True if this node has  
> been cloned.

This bit is redundant; you can tell if an SUnit is cloned by checking
to see if its OrigNode field points to a different SUnit.  It would be
nice to have an isCloned() member function to encapsulate this though.

Dan




More information about the llvm-commits mailing list