MachineBasicBlock::addLiveIn errors

The unchecked assertion that the same register is not added multiple times to the MBB::LiveIn list isn’t being respected. Could we add an assertion to check for it?

==== //dwarc/Tools/MetaWare/Toolset/main/dev/llvm/include/llvm/CodeGen/MachineBasicBlock.h#6 - /remote/arctools/marksl/marksl_1/llvm/include/llvm/CodeGen/MachineBasicBlock.h ====

295,298d294

< /// addLiveIn - Add the specified register as a live in**. Note that it**

< /// is an error to add the same register to the same set more than once.

< void addLiveIn(unsigned Reg) { LiveIns.push_back(Reg); }

<

306a303,310

/// addLiveIn - Add the specified register as a live in. Note that it

/// is an error to add the same register to the same set more than once.

void addLiveIn(unsigned Reg) {

assert(!isLiveIn(Reg));

LiveIns.push_back(Reg);

}

==== //dwarc/Tools/MetaWare/Toolset/main/dev/llvm/lib/CodeGen/BranchFolding.cpp#8 - /remote/arctools/marksl/marksl_1/llvm/lib/CodeGen/BranchFolding.cpp ====

386c386

< if (RegsLiveAtExit[i])