[PATCH] D129677: Disable machine function splitting for functions with inline asm br

Nick Desaulniers via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 14 13:59:02 PDT 2022


nickdesaulniers added a comment.

In D129677#3653097 <https://reviews.llvm.org/D129677#3653097>, @adriantong1024 wrote:

> The problem this patch is trying to fix is discovered on AArch64 where the conditional branch b.ge is too short after MFS places hot and cold blocks apart.

Isn't it straightforward to change b.ge to b.lt to the other branch destination, then b (no condition) to the label?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129677/new/

https://reviews.llvm.org/D129677



More information about the llvm-commits mailing list