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

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 14 16:21:15 PDT 2022


efriedma added a comment.

The primary issue with range extension thunks is that they clobber x16 (and in theory are allowed to clobber x17).  So we'd need to ensure that all asm goto blocks clobber x16 and x17.

I can't think of any other issue with depending on range extension thunks, I guess.  (See also https://github.com/ARM-software/abi-aa/blob/main/aaelf64/aaelf64.rst#call-and-jump-relocations .)


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