Hello
Common sense says that if the visa is issued on your passport then it is linked to your current passport #.
If you apply for a new passport a new number is issued. Also they would punch your old passport which in my opinion automatically voids the visa!
I suggest to contact CIC before renewing