[PATCH] D104730: [MCA] [AMDGPU] Adding CustomBehaviour implementation for AMDGPU.

Tom Stellard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 12 16:06:05 PDT 2021


tstellar added a comment.

@holland11 Did you run make check ?  The reason I had to update llvm/tools/llvm-mca/CMakeLists.txt was so that the tests pass (without it all invocations of llvm-mca failed with the 'multiple registered command line options' error.

As for a fix, you can export symbols by adding the  LLVM_EXTERNAL_VISIBILITY to the function definition, but I don't know if exporting random symbols is necessarily a good idea if it's only needed for an internal tool. Is it possible to rewrite this patch to not use the symbols?  Or maybe can we put these symbols into their own static library?  We've run into this problem before with some unittests that reference target symbols,  so having some kind of static library solution for this would be generally useful.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104730/new/

https://reviews.llvm.org/D104730



More information about the llvm-commits mailing list