const reference and no auto
You can construct a MachineInstrBuilder for the existing instruction to replace the addOperands below with the less verbose versions
I think 32 is a bit big for a small set size
Why is this checking Def->getParent()? Why is an instruction under consideration that isn't inserted in a block?