[llvm] [llvm-exegesis][AArch64] Check for PAC keys before disabling them (PR #138643)
Anatoly Trosinenko via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 4 09:48:03 PDT 2025
================
@@ -32,6 +39,53 @@
namespace llvm {
namespace exegesis {
+static cl::opt<bool> AArch64DisablePacControl(
+ "aarch64-disable-pac-control",
+ cl::desc("Disable PAC key control at runtime for benchmarking. Use this if "
+ "llvm-exegesis crashes or instruction timings are affected."),
+ cl::init(false));
----------------
atrosinenko wrote:
Maybe something like "aarch64-keep-pac-keys" would be better? Otherwise it may be understood in the inverted way :)
https://github.com/llvm/llvm-project/pull/138643
More information about the llvm-commits
mailing list