Updating from LLVM v4.0 to v5.0

Hi LLVM Devs,

The most common error I am seeing after I updated to LLVM v5.0 from v4.0 is that the function ‘MIB::addOperand’ has been removed, and replaced with a suite of more specific wrappers. Are there any guidelines to Out-of-Tree targets for revising how best to use the revised ‘MachineInstrBuilder’?



addOperand has been renamed to add.