[PATCH] D157127: [CodeGen][AArch64] Don't split functions with a red zone on AArch64

Snehasish Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 9 15:10:12 PDT 2023


snehasish added a comment.

It would be great to reuse the existing corpus of splitting tests for ARM. They would cover basic functionality along with interactions with different flavours of FDO. Can you create a separate patch to move the existing tests in `test/CodeGen/X86/machine-function-splitter.ll` to `test/CodeGen/Generic/machine-function-splitter.ll`? Then we can add the triple and appropriate CHECKs for x86 and ARM.

One precedent I can find is: `test/CodeGen/Generic/cfi-sections.ll` which has x86 and ARM triples (and REQUIRES the x86 and ARM registered targets).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D157127



More information about the llvm-commits mailing list