We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db57acf commit 18b9c46Copy full SHA for 18b9c46
llvm/tools/llvm-reduce/ReducerWorkItem.cpp
@@ -226,6 +226,9 @@ static std::unique_ptr<MachineFunction> cloneMF(MachineFunction *SrcMF) {
226
const auto &MCID = TII->get(SrcMI.getOpcode());
227
auto *DstMI = DstMF->CreateMachineInstr(MCID, SrcMI.getDebugLoc(),
228
/*NoImplicit=*/true);
229
+ DstMI->setFlags(SrcMI.getFlags());
230
+ DstMI->setAsmPrinterFlag(SrcMI.getAsmPrinterFlags());
231
+
232
DstMBB->push_back(DstMI);
233
for (auto &SrcMO : SrcMI.operands()) {
234
MachineOperand DstMO(SrcMO);
0 commit comments