================
@@ -1830,6 +1928,25 @@ unsigned SystemZInstrInfo::getInstSizeInBytes(const
MachineInstr &MI) const {
return 18;
if (MI.getOpcode() == TargetOpcode::PATCHABLE_RET)
return 18 + (MI.getOperand(0).getImm() == SystemZ::CondReturn ? 4 : 0);
+ if ((MI.getOpcode() == SystemZ::MOVE_STACK_GUARD) ||
+ (MI.getOpcode() == SystemZ::COMPARE_STACK_GUARD)) {
----------------
dominik-steenken wrote:
Right - in order to remove the symbol check from AsmPrinter though, we'll need
a different pseudo to survive the post-RA expander. I will update acordingly.
https://github.com/llvm/llvm-project/pull/169317
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits