[PATCH] D133605: [llvm-exegesis] Initialize all supported targets
Philip Reames via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 9 12:42:55 PDT 2022
reames created this revision.
reames added reviewers: RKSimon, lebedev.ri, courbet.
Herald added subscribers: mstojanovic, bollu, mgorny, mcrosier.
Herald added a project: All.
reames requested review of this revision.
Herald added a project: LLVM.
Enable registration of multiple exegesis targets at once. Use idiomatic approach to defining target select macros, but leave code in the llvm-mca sub-directories for now.
This is a stepping stone towards allowing llvm-exegesis benchmarking via simulator or testing in non-target dependent tests.
Note: I have not been able to test the analysis mode. I can't get the build system to recognize the pfm library on my build machine. As such, please double check me that the registration code which already existed appears to handle multiple registered targets correctly.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D133605
Files:
llvm/CMakeLists.txt
llvm/tools/llvm-exegesis/CMakeLists.txt
llvm/tools/llvm-exegesis/lib/TargetSelect.h
llvm/tools/llvm-exegesis/llvm-exegesis.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133605.459166.patch
Type: text/x-patch
Size: 4542 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220909/2637f6cb/attachment.bin>
More information about the llvm-commits
mailing list