Added Cmp and Cond node optimizations.