llvm-reduce: Follow-up to 372280, now with more-better msan fixing

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372349 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Blaikie
2019-09-19 20:04:04 +00:00
parent a9cd579599
commit 72bcb2596e

View File

@@ -51,7 +51,7 @@ static void replaceBranchTerminator(BasicBlock &BB,
if (IsBranch)
BranchInst::Create(ChunkSucessors[0], &BB);
if (auto IndBI = dyn_cast<IndirectBrInst>(Term)) {
if (Address) {
auto NewIndBI =
IndirectBrInst::Create(Address, ChunkSucessors.size(), &BB);
for (auto Dest : ChunkSucessors)