[PATCH] D152221: Avoid cross-section branches in AArch64 inline asm

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 6 14:14:46 PDT 2023


efriedma added a comment.

> Perhaps the label should be defined in C, then asm goto should be used for the first inline asm statement

Sure, but we don't need to disable function splitting and bb sections to handle that case.  The distance between an "asm goto" and its destination doesn't matter; we can apply branch relaxation like we would for normal conditional branches.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152221



More information about the llvm-commits mailing list