[all-commits] [llvm/llvm-project] cc91bb: [Instrumentor] Add runtime examples: [1/N] A flop ...
Johannes Doerfert via All-commits
all-commits at lists.llvm.org
Thu Jun 25 18:05:23 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cc91bbc5d88e56b85cd80e391d7faddd422bb3e4
https://github.com/llvm/llvm-project/commit/cc91bbc5d88e56b85cd80e391d7faddd422bb3e4
Author: Johannes Doerfert <jdoerfert.llvm at gmail.com>
Date: 2026-06-25 (Thu, 25 Jun 2026)
Changed paths:
M clang/cmake/caches/CrossWinToARMLinux.cmake
M clang/cmake/caches/VectorEngine.cmake
M clang/cmake/caches/cross-linux-toolchain.cmake
M compiler-rt/CMakeLists.txt
M compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
M compiler-rt/cmake/caches/AMDGPU.cmake
M compiler-rt/cmake/caches/NVPTX.cmake
M compiler-rt/cmake/caches/SPIRV64.cmake
M compiler-rt/cmake/caches/hexagon-builtins-baremetal.cmake
M compiler-rt/cmake/caches/hexagon-linux-builtins.cmake
M compiler-rt/cmake/config-ix.cmake
M compiler-rt/lib/CMakeLists.txt
A compiler-rt/lib/instrumentor-tools/CMakeLists.txt
A compiler-rt/lib/instrumentor-tools/README.md
A compiler-rt/lib/instrumentor-tools/flop-counter/CMakeLists.txt
A compiler-rt/lib/instrumentor-tools/flop-counter/README.md
A compiler-rt/lib/instrumentor-tools/flop-counter/flop_counter_config.json
A compiler-rt/lib/instrumentor-tools/flop-counter/flop_counter_runtime.cpp
A compiler-rt/lib/instrumentor-tools/instrumentor_runtime.h
M compiler-rt/test/CMakeLists.txt
A compiler-rt/test/instrumentor-tools/CMakeLists.txt
A compiler-rt/test/instrumentor-tools/lit.cfg.py
A compiler-rt/test/instrumentor-tools/lit.site.cfg.py.in
A compiler-rt/test/instrumentor-tools/simple_flops.c
A compiler-rt/test/instrumentor-tools/vector_flops.cpp
M libcxx/cmake/caches/Generic-llvm-libc.cmake
Log Message:
-----------
[Instrumentor] Add runtime examples: [1/N] A flop counter (#205698)
This adds a instrumentor-tools folder into compiler RT to showcase use
cases of the instrumentor. The initial example is a program that, via
instrumentation, counts the number of flops performed. Call and
intrinsic support will follow after #198042.
This is the second try with more CMake magic after
https://github.com/llvm/llvm-project/pull/205221 failed on some
platforms.
Partially developped by Claude (AI), tested and verified by me.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list