How can change ADD instruction to SUB instruction

Hi All,

I have ADD instruction but I want change to SUB instruction in MachineCSE.cpp file.

Eg:

%8:gpr32 = MOVi32imm -655360000

nsw ADDWrr killed %7:gpr32, killed %8:gpr32

expected:

%8:gpr32 = MOVi32imm 655360000

nsw SUBSWrr killed %7:gpr32, killed %8:gpr32

Could any one please give your suggestions on this.

Thanks and Regards,

Ramakota Reddy.