Skip to content
  • Chris Lattner's avatar
    Eliminate the RegSDNode class, which 3 nodes (CopyFromReg/CopyToReg/ImplicitDef) · 33182325
    Chris Lattner authored
    used to tack a register number onto the node.
    
    Instead of doing this, make a new node, RegisterSDNode, which is a leaf
    containing a register number.  These three operations just become normal
    DAG nodes now, instead of requiring special handling.
    
    Note that with this change, it is no longer correct to make illegal
    CopyFromReg/CopyToReg nodes.  The legalizer will not touch them, and this
    is bad, so don't do it. :)
    
    llvm-svn: 22806
    33182325
Loading