[llvm-reduce] Set ShouldPreserveUseListOrder=true
authorMarkus Lavin <markus.lavin@ericsson.com>
Tue, 1 Feb 2022 08:16:50 +0000 (09:16 +0100)
committerMarkus Lavin <markus.lavin@ericsson.com>
Tue, 1 Feb 2022 08:24:59 +0000 (09:24 +0100)
commit8a8af120283d652436cde4b7e61cc295b5f02d68
tree26d6b9e489c30c5254fd5ee9f28c1224a46a64ba
parentd19e530240339d67fbc3db9060a9a8e6f304be07
[llvm-reduce] Set ShouldPreserveUseListOrder=true

When exporting textual IR during reduction the ShouldPreserveUseListOrder
parameter of the IR printer should be set to get predictable results.

Differential Revision: https://reviews.llvm.org/D118585
llvm/tools/llvm-reduce/ReducerWorkItem.cpp