Index: llvm/tools/llvm-reduce/ReducerWorkItem.cpp =================================================================== --- llvm/tools/llvm-reduce/ReducerWorkItem.cpp +++ llvm/tools/llvm-reduce/ReducerWorkItem.cpp @@ -169,6 +169,7 @@ printMIR(ROS, *M); printMIR(ROS, *MF); } else { - M->print(ROS, nullptr); + M->print(ROS, /*AssemblyAnnotationWriter=*/nullptr, + /*ShouldPreserveUseListOrder=*/true); } }