llvm-project/bolt/test/assume-abi.test
Kepontry 2d902d0f88
[BOLT] Implement '--assume-abi' option for AArch64
This patch implements the `getCalleeSavedRegs` function for AArch64,
addressing the issue where the "not implemented" error occurs when
both the `--assume-abi` option and options related to the
RegAnalysis Pass (e.g., `--indirect-call-promotion=all`) are enabled.
2023-09-25 21:55:29 +08:00

8 lines
261 B
Plaintext

# Validate the usage of the `--assume-abi` option in conjunction with
# options related to the RegAnalysis Pass.
REQUIRES: system-linux
RUN: %clang %cflags %p/Inputs/hello.c -o %t -Wl,-q
RUN: llvm-bolt %t -o %t.bolt --assume-abi --indirect-call-promotion=all