llvm-reduce: Fix another invalid reduction with repeated input phis
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 6 Oct 2022 22:04:25 +0000 (15:04 -0700)
committerMatt Arsenault <arsenm2@gmail.com>
Fri, 7 Oct 2022 20:15:15 +0000 (13:15 -0700)
commit7721cba2eeb41a45f002ee923cb7acef89fa7483
tree060f13816fcb9cec554589734bff6b575a7b5c03
parent0a159427adf1dbc6e9ddab57fe352074b6d4a501
llvm-reduce: Fix another invalid reduction with repeated input phis

ReduceOperandsSkip had the same issue as ReduceOperands when handling
phis with repeated predecessors.
llvm/test/tools/llvm-reduce/reduce-operands-skip-repeated-phi-input.ll [new file with mode: 0644]
llvm/tools/llvm-reduce/deltas/ReduceOperandsSkip.cpp