Add SrcReg2 to analyzeCompare and optimizeCompareInstr to handle Compare