[all-commits] [llvm/llvm-project] 27c989: [llvm-exegesis] Preserve rcx and r11 around system...
Aiden Grossman via All-commits
all-commits at lists.llvm.org
Mon Nov 20 01:11:18 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 27c98958c067c341dd3f65b7218c376d333fbed5
https://github.com/llvm/llvm-project/commit/27c98958c067c341dd3f65b7218c376d333fbed5
Author: Aiden Grossman <agrossman154 at yahoo.com>
Date: 2023-11-20 (Mon, 20 Nov 2023)
Changed paths:
M llvm/test/tools/llvm-exegesis/X86/latency/subprocess-preserved-registers.s
M llvm/tools/llvm-exegesis/lib/X86/Target.cpp
Log Message:
-----------
[llvm-exegesis] Preserve rcx and r11 around system call (#72807)
Currently, when making the ioctl system call, we're not preserving rcx
and r11. The system call will clobber these registers, meaning that the
values of the registers in the snippet will be different than expected.
This patch fixes that be preserving the registers around the system
call, similar to how the other registers involved in the making the
system call get preserved.
Fixes #72741.
More information about the All-commits
mailing list