[llvm] r372349 - llvm-reduce: Follow-up to 372280, now with more-better msan fixing
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 19 13:04:04 PDT 2019
Author: dblaikie
Date: Thu Sep 19 13:04:04 2019
New Revision: 372349
URL: http://llvm.org/viewvc/llvm-project?rev=372349&view=rev
Log:
llvm-reduce: Follow-up to 372280, now with more-better msan fixing
Modified:
llvm/trunk/tools/llvm-reduce/deltas/ReduceBasicBlocks.cpp
Modified: llvm/trunk/tools/llvm-reduce/deltas/ReduceBasicBlocks.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-reduce/deltas/ReduceBasicBlocks.cpp?rev=372349&r1=372348&r2=372349&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-reduce/deltas/ReduceBasicBlocks.cpp (original)
+++ llvm/trunk/tools/llvm-reduce/deltas/ReduceBasicBlocks.cpp Thu Sep 19 13:04:04 2019
@@ -51,7 +51,7 @@ static void replaceBranchTerminator(Basi
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)
More information about the llvm-commits
mailing list