CopyToReg node

Hi all,

I’m having some trouble with x86 generating some CopyToReg nodes with a null 2nd operand. I’ve done an extensive search of the entire codebase and found that all creation of CopyToReg nodes happens at SelectionDAG.h, eventually, but my debug messages did not register a call to either of the three getCopyToReg methods it provides. Is there any other place where CopyToReg nodes get generated for x86 target?