Help required, Target Specifc SDNode getting optimized by ISel DAG

Hello LLVM Devs,

I am sorry if anyone have wasted his time on this mail as mistake was very subtle,

I had a code as shown below:

if( Chain.getNode()->getOpcode() == ISD::DELETED_NODE)
printf(“In Deleted node \n”);
// Update the DAG with the new chain value resulting from return lowering.
DAG.setRoot(Chain);

so now I removed all printf statements with vim thus it made DAG.setRoot(Chain); statement conditional.

thanks for helping.

Sincerely,
Vivek