Skip to content

Commit

Permalink
Revert "[SystemZ] Bugfix in expansion of memmem operations."
Browse files Browse the repository at this point in the history
Sorry - mir test fails with expensive checks on build bot.

Seems to relate to the fact that there are no PHIs in the .mir input, but after
they are created the verifyer reports "Found PHI instruction with NoPHIs property
set".

This reverts commit 00454a1.
  • Loading branch information
JonPsson committed May 10, 2023
1 parent 00454a1 commit dfa42a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 129 deletions.
5 changes: 2 additions & 3 deletions llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8502,10 +8502,9 @@ SystemZTargetLowering::emitMemMemWrapper(MachineInstr &MI,
.addReg(RemSrcReg).addImm(SrcDisp);
MBB->addSuccessor(AllDoneMBB);
MBB = AllDoneMBB;
if (Opcode != SystemZ::MVC) {
if (EndMBB) {
EXRL_MIB.addReg(SystemZ::CC, RegState::ImplicitDefine);
if (EndMBB)
MBB->addLiveIn(SystemZ::CC);
MBB->addLiveIn(SystemZ::CC);
}
}
}
Expand Down
126 changes: 0 additions & 126 deletions llvm/test/CodeGen/SystemZ/memmem-exrl-cc.mir

This file was deleted.

0 comments on commit dfa42a6

Please sign in to comment.