forked from OSchip/llvm-project
![]() We currently return 4 for stackmaps and patchpoints, which is very optimistic and can in rare cases cause the branch relaxation pass to fail to relax certain branches. This patch causes getInstSizeInBytes to return a pessimistic estimate of the size as the number of bytes requested in the stackmap/patchpoint. In the future, we could provide a more accurate estimate by sharing some of the logic in AArch64::LowerSTACKMAP/PATCHPOINT. Fixes part of https://llvm.org/bugs/show_bug.cgi?id=28750 Differential Revision: https://reviews.llvm.org/D24073 llvm-svn: 281301 |
||
---|---|---|
.. | ||
cfi-def-cfa.mir | ||
expected-target-flag-name.mir | ||
generic-virtual-registers-error.mir | ||
generic-virtual-registers-with-regbank-error.mir | ||
inst-size-patchpoint.mir | ||
inst-size-stackmap.mir | ||
inst-size-tlsdesc-callseq.mir | ||
intrinsics.mir | ||
invalid-target-flag-name.mir | ||
lit.local.cfg | ||
machine-dead-copy.mir | ||
machine-scheduler.mir | ||
multiple-lhs-operands.mir | ||
stack-object-local-offset.mir | ||
target-flags.mir |