[llvm] [llvm-exegesis] Add raw PMU encoding in TargetPfmCounters tablegen (PR #201228)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 3 13:23:29 PDT 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `amdgpu-offload-build-only` running on `AMD-bb-w-02` while building `llvm` at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/226/builds/11642

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 4 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py --jobs=32' (failure)
...
In file included from /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/tools/dsymutil/MachOUtils.cpp:11:
/home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/tools/dsymutil/DebugMap.h: In member function ‘llvm::dsymutil::DebugMap::ObjectContainer& llvm::dsymutil::DebugMap::getObjects()’:
/home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/tools/dsymutil/DebugMap.h:118:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  118 |     return reinterpret_cast<ObjectContainer &>(Objects);
      |                                                ^~~~~~~
/home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/tools/dsymutil/DebugMap.h: In member function ‘const llvm::dsymutil::DebugMap::ObjectContainer& llvm::dsymutil::DebugMap::getObjects() const’:
/home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/tools/dsymutil/DebugMap.h:121:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  121 |     return reinterpret_cast<const ObjectContainer &>(Objects);
      |                                                      ^~~~~~~
[8546/8682] Generating ../../bin/llvm-bitcode-strip
FAILED: runtimes/runtimes-stamps/runtimes-configure /home/botworker/bbot/amdgpu-offload-build-only/build/runtimes/runtimes-stamps/runtimes-configure 
cd /home/botworker/bbot/amdgpu-offload-build-only/build/runtimes/runtimes-bins && /usr/local/therock-tools/bin/cmake -DLLVM_EXTERNAL_COMPILER_RT_SOURCE_DIR=/home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/runtimes/../../compiler-rt -DLLVM_EXTERNAL_OPENMP_SOURCE_DIR=/home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/runtimes/../../openmp -DLLVM_EXTERNAL_OFFLOAD_SOURCE_DIR=/home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/runtimes/../../offload -DLLVM_EXTERNAL_FLANG_RT_SOURCE_DIR=/home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/runtimes/../../flang-rt --no-warn-unused-cli -DCMAKE_C_COMPILER=/home/botworker/bbot/amdgpu-offload-build-only/build/./bin/clang -DCMAKE_CXX_COMPILER=/home/botworker/bbot/amdgpu-offload-build-only/build/./bin/clang++ -DCMAKE_ASM_COMPILER=/home/botworker/bbot/amdgpu-offload-build-only/build/./bin/clang -DCMAKE_Fortran_COMPILER=/home/botworker/bbot/amdgpu-offload-build-only/build/./bin/flang -DCMAKE_LINK
d-only/llvm-project/llvm/runtimes/../../flang-rt" -DRUNTIMES_amdgcn-amd-amdhsa_LLVM_ENABLE_RUNTIMES=openmp -GNinja -C/home/botworker/bbot/amdgpu-offload-build-only/build/projects/runtimes/tmp/runtimes-cache-Release.cmake -S /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/runtimes/../../runtimes -B /home/botworker/bbot/amdgpu-offload-build-only/build/runtimes/runtimes-bins && /usr/local/therock-tools/bin/cmake -E touch /home/botworker/bbot/amdgpu-offload-build-only/build/runtimes/runtimes-stamps/runtimes-configure
[8548/8682] Generating ../../bin/llvm-extract-bundle-entry
[8549/8682] Generating ../../bin/llvm-otool
[8550/8682] Linking CXX executable bin/llvm-jitlink-executor
[8551/8682] Linking CXX executable bin/llvm-microsoft-demangle-fuzzer
[8552/8682] Linking CXX executable bin/llvm-mc
[8553/8682] Linking CXX executable bin/llvm-dwarfutil
[8554/8682] Linking CXX executable bin/llvm-ir2vec
[8555/8682] Linking CXX executable bin/llvm-gsymutil
[8556/8682] Linking CXX executable bin/llvm-modextract
[8557/8682] Linking CXX executable bin/llvm-isel-fuzzer
[8558/8682] Linking CXX executable bin/llvm-mca
[8559/8682] Linking CXX executable bin/llvm-libtool-darwin
[8560/8682] Linking CXX executable bin/llvm-lipo
[8561/8682] Linking CXX executable bin/llvm-lto2
[8562/8682] Linking CXX shared library lib/libflangPasses.so.23.0git
[8563/8682] Linking CXX shared library lib/libFortranLower.so.23.0git
[8564/8682] Building CXX object tools/mlir/test/lib/Pass/CMakeFiles/MLIRTestPass.dir/TestPassManager.cpp.o
[8565/8682] Building CXX object tools/mlir/test/lib/Pass/CMakeFiles/MLIRTestPass.dir/TestConvertToSPIRVPass.cpp.o
[8566/8682] Linking CXX shared library lib/libclang-cpp.so.23.0git
[8567/8682] Building CXX object tools/mlir/lib/CAPI/Dialect/CMakeFiles/obj.MLIRCAPILinalg.dir/LinalgPasses.cpp.o
[8568/8682] Building CXX object tools/llvm-exegesis/lib/X86/CMakeFiles/obj.LLVMExegesisX86.dir/Target.cpp.o
In file included from /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/include/llvm/Support/ErrorHandling.h:17,
                 from /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/include/llvm/ADT/Hashing.h:49,
                 from /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:12,
                 from /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/include/llvm/ADT/BitVector.h:17,
                 from /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/tools/llvm-exegesis/lib/X86/../RegisterAliasing.h:19,
                 from /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/tools/llvm-exegesis/lib/X86/../MCInstrDescView.h:24,
                 from /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/tools/llvm-exegesis/lib/X86/../LlvmState.h:17,
                 from /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/tools/llvm-exegesis/lib/X86/../BenchmarkResult.h:18,
                 from /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/tools/llvm-exegesis/lib/X86/../Target.h:19,
                 from /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/tools/llvm-exegesis/lib/X86/Target.cpp:8:
/home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/include/llvm/Support/Compiler.h:651:65: warning: ‘cfi-icall’ attribute directive ignored [-Wattributes]
  651 | #define LLVM_NO_SANITIZE(KIND) __attribute__((no_sanitize(KIND)))
      |                                                                 ^
/home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/tools/llvm-exegesis/lib/X86/../Assembler.h:119:7: note: in expansion of macro ‘LLVM_NO_SANITIZE’
  119 |       LLVM_NO_SANITIZE("cfi-icall") /* Incompatible with JIT */ {
Step 7 (build cmake config) failure: build cmake config (failure)
...
In file included from /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/tools/dsymutil/MachOUtils.cpp:11:
/home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/tools/dsymutil/DebugMap.h: In member function ‘llvm::dsymutil::DebugMap::ObjectContainer& llvm::dsymutil::DebugMap::getObjects()’:
/home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/tools/dsymutil/DebugMap.h:118:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  118 |     return reinterpret_cast<ObjectContainer &>(Objects);
      |                                                ^~~~~~~
/home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/tools/dsymutil/DebugMap.h: In member function ‘const llvm::dsymutil::DebugMap::ObjectContainer& llvm::dsymutil::DebugMap::getObjects() const’:
/home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/tools/dsymutil/DebugMap.h:121:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  121 |     return reinterpret_cast<const ObjectContainer &>(Objects);
      |                                                      ^~~~~~~
[8546/8682] Generating ../../bin/llvm-bitcode-strip
FAILED: runtimes/runtimes-stamps/runtimes-configure /home/botworker/bbot/amdgpu-offload-build-only/build/runtimes/runtimes-stamps/runtimes-configure 
cd /home/botworker/bbot/amdgpu-offload-build-only/build/runtimes/runtimes-bins && /usr/local/therock-tools/bin/cmake -DLLVM_EXTERNAL_COMPILER_RT_SOURCE_DIR=/home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/runtimes/../../compiler-rt -DLLVM_EXTERNAL_OPENMP_SOURCE_DIR=/home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/runtimes/../../openmp -DLLVM_EXTERNAL_OFFLOAD_SOURCE_DIR=/home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/runtimes/../../offload -DLLVM_EXTERNAL_FLANG_RT_SOURCE_DIR=/home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/runtimes/../../flang-rt --no-warn-unused-cli -DCMAKE_C_COMPILER=/home/botworker/bbot/amdgpu-offload-build-only/build/./bin/clang -DCMAKE_CXX_COMPILER=/home/botworker/bbot/amdgpu-offload-build-only/build/./bin/clang++ -DCMAKE_ASM_COMPILER=/home/botworker/bbot/amdgpu-offload-build-only/build/./bin/clang -DCMAKE_Fortran_COMPILER=/home/botworker/bbot/amdgpu-offload-build-only/build/./bin/flang -DCMAKE_LINK
d-only/llvm-project/llvm/runtimes/../../flang-rt" -DRUNTIMES_amdgcn-amd-amdhsa_LLVM_ENABLE_RUNTIMES=openmp -GNinja -C/home/botworker/bbot/amdgpu-offload-build-only/build/projects/runtimes/tmp/runtimes-cache-Release.cmake -S /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/runtimes/../../runtimes -B /home/botworker/bbot/amdgpu-offload-build-only/build/runtimes/runtimes-bins && /usr/local/therock-tools/bin/cmake -E touch /home/botworker/bbot/amdgpu-offload-build-only/build/runtimes/runtimes-stamps/runtimes-configure
[8548/8682] Generating ../../bin/llvm-extract-bundle-entry
[8549/8682] Generating ../../bin/llvm-otool
[8550/8682] Linking CXX executable bin/llvm-jitlink-executor
[8551/8682] Linking CXX executable bin/llvm-microsoft-demangle-fuzzer
[8552/8682] Linking CXX executable bin/llvm-mc
[8553/8682] Linking CXX executable bin/llvm-dwarfutil
[8554/8682] Linking CXX executable bin/llvm-ir2vec
[8555/8682] Linking CXX executable bin/llvm-gsymutil
[8556/8682] Linking CXX executable bin/llvm-modextract
[8557/8682] Linking CXX executable bin/llvm-isel-fuzzer
[8558/8682] Linking CXX executable bin/llvm-mca
[8559/8682] Linking CXX executable bin/llvm-libtool-darwin
[8560/8682] Linking CXX executable bin/llvm-lipo
[8561/8682] Linking CXX executable bin/llvm-lto2
[8562/8682] Linking CXX shared library lib/libflangPasses.so.23.0git
[8563/8682] Linking CXX shared library lib/libFortranLower.so.23.0git
[8564/8682] Building CXX object tools/mlir/test/lib/Pass/CMakeFiles/MLIRTestPass.dir/TestPassManager.cpp.o
[8565/8682] Building CXX object tools/mlir/test/lib/Pass/CMakeFiles/MLIRTestPass.dir/TestConvertToSPIRVPass.cpp.o
[8566/8682] Linking CXX shared library lib/libclang-cpp.so.23.0git
[8567/8682] Building CXX object tools/mlir/lib/CAPI/Dialect/CMakeFiles/obj.MLIRCAPILinalg.dir/LinalgPasses.cpp.o
[8568/8682] Building CXX object tools/llvm-exegesis/lib/X86/CMakeFiles/obj.LLVMExegesisX86.dir/Target.cpp.o
In file included from /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/include/llvm/Support/ErrorHandling.h:17,
                 from /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/include/llvm/ADT/Hashing.h:49,
                 from /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:12,
                 from /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/include/llvm/ADT/BitVector.h:17,
                 from /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/tools/llvm-exegesis/lib/X86/../RegisterAliasing.h:19,
                 from /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/tools/llvm-exegesis/lib/X86/../MCInstrDescView.h:24,
                 from /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/tools/llvm-exegesis/lib/X86/../LlvmState.h:17,
                 from /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/tools/llvm-exegesis/lib/X86/../BenchmarkResult.h:18,
                 from /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/tools/llvm-exegesis/lib/X86/../Target.h:19,
                 from /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/tools/llvm-exegesis/lib/X86/Target.cpp:8:
/home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/include/llvm/Support/Compiler.h:651:65: warning: ‘cfi-icall’ attribute directive ignored [-Wattributes]
  651 | #define LLVM_NO_SANITIZE(KIND) __attribute__((no_sanitize(KIND)))
      |                                                                 ^
/home/botworker/bbot/amdgpu-offload-build-only/llvm-project/llvm/tools/llvm-exegesis/lib/X86/../Assembler.h:119:7: note: in expansion of macro ‘LLVM_NO_SANITIZE’
  119 |       LLVM_NO_SANITIZE("cfi-icall") /* Incompatible with JIT */ {

```

</details>

https://github.com/llvm/llvm-project/pull/201228


More information about the llvm-commits mailing list