[all-commits] [llvm/llvm-project] 5823ac: [llvm-exegesis] Refactor getting register number f...
Aiden Grossman via All-commits
all-commits at lists.llvm.org
Tue Sep 10 07:02:35 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5823ac0a6534403c4e74e062180b61048ba6ee99
https://github.com/llvm/llvm-project/commit/5823ac0a6534403c4e74e062180b61048ba6ee99
Author: Aiden Grossman <aidengrossman at google.com>
Date: 2024-09-10 (Tue, 10 Sep 2024)
Changed paths:
M llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp
M llvm/tools/llvm-exegesis/lib/LlvmState.cpp
M llvm/tools/llvm-exegesis/lib/LlvmState.h
M llvm/tools/llvm-exegesis/lib/SnippetFile.cpp
Log Message:
-----------
[llvm-exegesis] Refactor getting register number from name to LLVMState (#107895)
This patch refactors the procedure of getting the register number from a
register name to LLVMState rather than having individual users get the
values themselves by getting a reference to the map from LLVMState. This
is primarily intended to make some downstream usage in Gematria simpler,
but also cleans up a little bit upstream by pulling the actual map
searching out and just leaving error handling to the clients.
The original getter is left to enable downstream migration in Gematria,
particularly before it gets imported into google internal.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list