[PATCH] D157157: [clang] Add clang support for Machine Function Splitting on AArch64

Mingming Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 18 13:06:47 PDT 2023


mingmingl accepted this revision.
mingmingl added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang/test/Driver/fsplit-machine-functions.c:4
 // RUN: %clang -### -target x86_64 -fprofile-use=default.profdata -fsplit-machine-functions -fno-split-machine-functions %s -c 2>&1 | FileCheck -check-prefix=CHECK-NOOPT %s
+// RUN: %clang -### -target aarch64-unknown-linux -fprofile-use=default.profdata -fsplit-machine-functions %s -c 2>&1 | FileCheck -check-prefix=CHECK-AARCH64 %s
 // RUN: not %clang -c -target arm-unknown-linux -fsplit-machine-functions %s 2>&1 | FileCheck -check-prefix=CHECK-TRIPLE %s
----------------
nit: would `-target aarch64` be sufficient here? if yes it's more general.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D157157



More information about the cfe-commits mailing list