[llvm-reduce] Update NoChunks initializer to be in line with AllChunks.
authorFlorian Hahn <flo@fhahn.com>
Wed, 21 Sep 2022 14:50:29 +0000 (15:50 +0100)
committerFlorian Hahn <flo@fhahn.com>
Wed, 21 Sep 2022 14:50:30 +0000 (15:50 +0100)
commit53aad7a69ac0c486edf9fd14e83a2e2919460210
tree42fcd294935c8a1687c46a7348d7b477102fe875
parent7b420a4a8b4029c93dda54cb76b69e96a07d932b
[llvm-reduce] Update NoChunks initializer to be in line with AllChunks.

Without this patch, the assertion triggers below on the test case,
because we are using different oracles for the verification.

    Assertion failed: (Targets == NoChunksCounter.count() && "number of chunks changes when reducing"), function runDeltaPass, file Delta.cpp, line 272.
llvm/test/tools/llvm-reduce/remove-bbs-unreachable.ll [new file with mode: 0644]
llvm/tools/llvm-reduce/deltas/Delta.cpp