[PATCH] D104149: [MCA] Adding the CustomBehaviour class to llvm-mca

Andrea Di Biagio via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 15 13:54:20 PDT 2021


andreadb added a comment.

The problem is that llvm-mca.cpp includes "lib/AMDGPU/AMDGPUCustomBehaviour.h".
However, according to the new CMakeLists.txt, that directory is not build if this check fails:

  if (LLVM_TARGETS_TO_BUILD MATCHES "AMDGPU")```.
  
  So that explains why we are only seeing failures on buildbots that don't build the AMDGPU target.
  
  I am afraid that you need a different mechanism for getting target specific info...


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104149



More information about the llvm-commits mailing list