Add RReg bufdiffing apis to retrieve list of modified regs