[Bazel] Add llvm-mca unittests (#90309)
commit90a959a8c978671467041c865509a0e1823c5115
authorAiden Grossman <aidengrossman@google.com>
Sat, 27 Apr 2024 05:09:34 +0000 (26 22:09 -0700)
committerGitHub <noreply@github.com>
Sat, 27 Apr 2024 05:09:34 +0000 (26 22:09 -0700)
tree6571dbe9132fe3c068738cd9b2e525a5b85a65e7
parent338561657685c1831a53563b1bc36ffc7470239e
[Bazel] Add llvm-mca unittests (#90309)

This patch refactors the llvm-mca rules slightly so that the source
files within the tool source directory but not the library source
directory are included in a separate cc_library. This patch also adds
the llvm-mca unittests.
utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel